Hex Artifact Content
Not logged in

Artifact 9a96d4494154654fae5101158302a44bdb1ecdaa:

File tools/cvs2fossil/lib/c2f_pbreakacycle.tcl part of check-in [38b967dcf5] - Merge aku's CVS import changes into the main line. Fix a small bug in diff.c. by drh on 2007-11-17 00:29:42. Also file tools/cvs2fossil/lib/c2f_pbreakacycle.tcl part of check-in [e7c805f137] - Added skeleton of pass 8, the final pass for the breaking of dependency cycles. This pass will handle the remaining cycles crossing revision and symbol changesets. by aku on 2007-11-16 06:53:01.

0000: 23 23 20 2d 2a 2d 20 74 63 6c 20 2d 2a 2d 0a 23  ## -*- tcl -*-.#
0010: 20 23 20 23 23 20 23 23 23 20 23 23 23 23 23 20   # ## ### ##### 
0020: 23 23 23 23 23 23 23 23 20 23 23 23 23 23 23 23  ######## #######
0030: 23 23 23 23 23 23 20 23 23 23 23 23 23 23 23 23  ###### #########
0040: 23 23 23 23 23 23 23 23 23 23 23 23 0a 23 23 20  ############.## 
0050: 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30  Copyright (c) 20
0060: 30 37 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69  07 Andreas Kupri
0070: 65 73 2e 0a 23 0a 23 20 54 68 69 73 20 73 6f 66  es..#.# This sof
0080: 74 77 61 72 65 20 69 73 20 6c 69 63 65 6e 73 65  tware is license
0090: 64 20 61 73 20 64 65 73 63 72 69 62 65 64 20 69  d as described i
00a0: 6e 20 74 68 65 20 66 69 6c 65 20 4c 49 43 45 4e  n the file LICEN
00b0: 53 45 2c 20 77 68 69 63 68 0a 23 20 79 6f 75 20  SE, which.# you 
00c0: 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65 63 65  should have rece
00d0: 69 76 65 64 20 61 73 20 70 61 72 74 20 6f 66 20  ived as part of 
00e0: 74 68 69 73 20 64 69 73 74 72 69 62 75 74 69 6f  this distributio
00f0: 6e 2e 0a 23 0a 23 20 54 68 69 73 20 73 6f 66 74  n..#.# This soft
0100: 77 61 72 65 20 63 6f 6e 73 69 73 74 73 20 6f 66  ware consists of
0110: 20 76 6f 6c 75 6e 74 61 72 79 20 63 6f 6e 74 72   voluntary contr
0120: 69 62 75 74 69 6f 6e 73 20 6d 61 64 65 20 62 79  ibutions made by
0130: 20 6d 61 6e 79 0a 23 20 69 6e 64 69 76 69 64 75   many.# individu
0140: 61 6c 73 2e 20 20 46 6f 72 20 65 78 61 63 74 20  als.  For exact 
0150: 63 6f 6e 74 72 69 62 75 74 69 6f 6e 20 68 69 73  contribution his
0160: 74 6f 72 79 2c 20 73 65 65 20 74 68 65 20 72 65  tory, see the re
0170: 76 69 73 69 6f 6e 0a 23 20 68 69 73 74 6f 72 79  vision.# history
0180: 20 61 6e 64 20 6c 6f 67 73 2c 20 61 76 61 69 6c   and logs, avail
0190: 61 62 6c 65 20 61 74 20 68 74 74 70 3a 2f 2f 66  able at http://f
01a0: 6f 73 73 69 6c 2d 73 63 6d 2e 68 77 61 63 69 2e  ossil-scm.hwaci.
01b0: 63 6f 6d 2f 66 6f 73 73 69 6c 0a 23 20 23 20 23  com/fossil.# # #
01c0: 23 20 23 23 23 20 23 23 23 23 23 20 23 23 23 23  # ### ##### ####
01d0: 23 23 23 23 20 23 23 23 23 23 23 23 23 23 23 23  #### ###########
01e0: 23 23 20 23 23 23 23 23 23 23 23 23 23 23 23 23  ## #############
01f0: 23 23 23 23 23 23 23 23 0a 0a 23 23 20 50 61 73  ########..## Pas
0200: 73 20 56 49 49 49 2e 20 54 68 69 73 20 69 73 20  s VIII. This is 
0210: 74 68 65 20 66 69 6e 61 6c 20 70 61 73 73 20 66  the final pass f
0220: 6f 72 20 62 72 65 61 6b 69 6e 67 20 63 68 61 6e  or breaking chan
0230: 67 65 73 65 74 20 64 65 70 65 6e 64 65 6e 63 79  geset dependency
0240: 0a 23 23 20 63 79 63 6c 65 73 2e 20 54 68 65 20  .## cycles. The 
0250: 74 77 6f 20 70 72 65 76 69 6f 75 73 20 70 61 73  two previous pas
0260: 73 65 73 20 62 72 6f 6b 65 20 63 79 63 6c 65 73  ses broke cycles
0270: 20 63 6f 76 65 72 69 6e 67 20 72 65 76 69 73 69   covering revisi
0280: 6f 6e 20 61 6e 64 0a 23 23 20 73 79 6d 62 6f 6c  on and.## symbol
0290: 20 63 68 61 6e 67 65 73 65 74 73 2c 20 72 65 73   changesets, res
02a0: 70 65 63 74 69 76 65 6c 79 2e 20 54 68 69 73 20  pectively. This 
02b0: 70 61 73 73 20 6e 6f 77 20 62 72 65 61 6b 73 20  pass now breaks 
02c0: 61 6e 79 20 72 65 6d 61 69 6e 69 6e 67 0a 23 23  any remaining.##
02d0: 20 63 79 63 6c 65 73 20 65 61 63 68 20 6f 66 20   cycles each of 
02e0: 77 68 69 63 68 20 68 61 73 20 74 6f 20 63 6f 6e  which has to con
02f0: 74 61 69 6e 20 61 74 20 6c 65 61 73 74 20 6f 6e  tain at least on
0300: 65 20 72 65 76 69 73 69 6f 6e 20 61 6e 64 20 61  e revision and a
0310: 74 0a 23 23 20 6c 65 61 73 74 20 6f 6e 65 20 73  t.## least one s
0320: 79 6d 62 6f 6c 20 63 68 61 6e 67 65 73 65 74 2e  ymbol changeset.
0330: 0a 0a 23 20 23 20 23 23 20 23 23 23 20 23 23 23  ..# # ## ### ###
0340: 23 23 20 23 23 23 23 23 23 23 23 20 23 23 23 23  ## ######## ####
0350: 23 23 23 23 23 23 23 23 23 20 23 23 23 23 23 23  ######### ######
0360: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 0a  ###############.
0370: 23 23 20 52 65 71 75 69 72 65 6d 65 6e 74 73 0a  ## Requirements.
0380: 0a 70 61 63 6b 61 67 65 20 72 65 71 75 69 72 65  .package require
0390: 20 54 63 6c 20 38 2e 34 20 20 20 20 20 20 20 20   Tcl 8.4        
03a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
03b0: 20 20 20 20 20 20 20 20 20 20 20 3b 20 23 20 52             ; # R
03c0: 65 71 75 69 72 65 64 20 72 75 6e 74 69 6d 65 2e  equired runtime.
03d0: 0a 70 61 63 6b 61 67 65 20 72 65 71 75 69 72 65  .package require
03e0: 20 73 6e 69 74 20 20 20 20 20 20 20 20 20 20 20   snit           
03f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0400: 20 20 20 20 20 20 20 20 20 20 20 3b 20 23 20 4f             ; # O
0410: 4f 20 73 79 73 74 65 6d 2e 0a 70 61 63 6b 61 67  O system..packag
0420: 65 20 72 65 71 75 69 72 65 20 73 74 72 75 63 74  e require struct
0430: 3a 3a 6c 69 73 74 20 20 20 20 20 20 20 20 20 20  ::list          
0440: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0450: 20 20 20 20 3b 20 23 20 48 69 67 68 65 72 20 6f      ; # Higher o
0460: 72 64 65 72 20 6c 69 73 74 20 6f 70 65 72 61 74  rder list operat
0470: 69 6f 6e 73 2e 0a 70 61 63 6b 61 67 65 20 72 65  ions..package re
0480: 71 75 69 72 65 20 76 63 3a 3a 74 6f 6f 6c 73 3a  quire vc::tools:
0490: 3a 6c 6f 67 20 20 20 20 20 20 20 20 20 20 20 20  :log            
04a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
04b0: 3b 20 23 20 55 73 65 72 20 66 65 65 64 62 61 63  ; # User feedbac
04c0: 6b 2e 0a 70 61 63 6b 61 67 65 20 72 65 71 75 69  k..package requi
04d0: 72 65 20 76 63 3a 3a 66 6f 73 73 69 6c 3a 3a 69  re vc::fossil::i
04e0: 6d 70 6f 72 74 3a 3a 63 76 73 3a 3a 63 79 63 6c  mport::cvs::cycl
04f0: 65 62 72 65 61 6b 65 72 20 20 20 20 20 3b 20 23  ebreaker     ; #
0500: 20 42 72 65 61 6b 69 6e 67 20 64 65 70 65 6e 64   Breaking depend
0510: 65 6e 63 79 20 63 79 63 6c 65 73 2e 0a 70 61 63  ency cycles..pac
0520: 6b 61 67 65 20 72 65 71 75 69 72 65 20 76 63 3a  kage require vc:
0530: 3a 66 6f 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a  :fossil::import:
0540: 3a 63 76 73 3a 3a 73 74 61 74 65 20 20 20 20 20  :cvs::state     
0550: 20 20 20 20 20 20 20 3b 20 23 20 53 74 61 74 65         ; # State
0560: 20 73 74 6f 72 61 67 65 2e 0a 70 61 63 6b 61 67   storage..packag
0570: 65 20 72 65 71 75 69 72 65 20 76 63 3a 3a 66 6f  e require vc::fo
0580: 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a 3a 63 76  ssil::import::cv
0590: 73 3a 3a 70 72 6f 6a 65 63 74 3a 3a 72 65 76 20  s::project::rev 
05a0: 20 20 20 20 3b 20 23 20 50 72 6f 6a 65 63 74 20      ; # Project 
05b0: 6c 65 76 65 6c 20 63 68 61 6e 67 65 73 65 74 73  level changesets
05c0: 0a 0a 23 20 23 20 23 23 20 23 23 23 20 23 23 23  ..# # ## ### ###
05d0: 23 23 20 23 23 23 23 23 23 23 23 20 23 23 23 23  ## ######## ####
05e0: 23 23 23 23 23 23 23 23 23 20 23 23 23 23 23 23  ######### ######
05f0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 0a  ###############.
0600: 23 23 20 52 65 67 69 73 74 65 72 20 74 68 65 20  ## Register the 
0610: 70 61 73 73 20 77 69 74 68 20 74 68 65 20 6d 61  pass with the ma
0620: 6e 61 67 65 6d 65 6e 74 0a 0a 76 63 3a 3a 66 6f  nagement..vc::fo
0630: 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a 3a 63 76  ssil::import::cv
0640: 73 3a 3a 70 61 73 73 20 64 65 66 69 6e 65 20 5c  s::pass define \
0650: 0a 20 20 20 20 42 72 65 61 6b 41 6c 6c 43 73 65  .    BreakAllCse
0660: 74 43 79 63 6c 65 73 20 5c 0a 20 20 20 20 7b 42  tCycles \.    {B
0670: 72 65 61 6b 20 52 65 6d 61 69 6e 69 6e 67 20 43  reak Remaining C
0680: 68 61 6e 67 65 53 65 74 20 44 65 70 65 6e 64 65  hangeSet Depende
0690: 6e 63 79 20 43 79 63 6c 65 73 7d 20 5c 0a 20 20  ncy Cycles} \.  
06a0: 20 20 3a 3a 76 63 3a 3a 66 6f 73 73 69 6c 3a 3a    ::vc::fossil::
06b0: 69 6d 70 6f 72 74 3a 3a 63 76 73 3a 3a 70 61 73  import::cvs::pas
06c0: 73 3a 3a 62 72 65 61 6b 61 63 79 63 6c 65 0a 0a  s::breakacycle..
06d0: 23 20 23 20 23 23 20 23 23 23 20 23 23 23 23 23  # # ## ### #####
06e0: 20 23 23 23 23 23 23 23 23 20 23 23 23 23 23 23   ######## ######
06f0: 23 23 23 23 23 23 23 20 23 23 23 23 23 23 23 23  ####### ########
0700: 23 23 23 23 23 23 23 23 23 23 23 23 23 0a 23 23  #############.##
0710: 20 0a 0a 73 6e 69 74 3a 3a 74 79 70 65 20 3a 3a   ..snit::type ::
0720: 76 63 3a 3a 66 6f 73 73 69 6c 3a 3a 69 6d 70 6f  vc::fossil::impo
0730: 72 74 3a 3a 63 76 73 3a 3a 70 61 73 73 3a 3a 62  rt::cvs::pass::b
0740: 72 65 61 6b 61 63 79 63 6c 65 20 7b 0a 20 20 20  reakacycle {.   
0750: 20 23 20 23 20 23 23 20 23 23 23 20 23 23 23 23   # # ## ### ####
0760: 23 20 23 23 23 23 23 23 23 23 20 23 23 23 23 23  # ######## #####
0770: 23 23 23 23 23 23 23 23 0a 20 20 20 20 23 23 20  ########.    ## 
0780: 50 75 62 6c 69 63 20 41 50 49 0a 0a 20 20 20 20  Public API..    
0790: 74 79 70 65 6d 65 74 68 6f 64 20 73 65 74 75 70  typemethod setup
07a0: 20 7b 7d 20 7b 0a 09 23 20 44 65 66 69 6e 65 20   {} {..# Define 
07b0: 74 68 65 20 6e 61 6d 65 73 20 61 6e 64 20 73 74  the names and st
07c0: 72 75 63 74 75 72 65 20 6f 66 20 74 68 65 20 70  ructure of the p
07d0: 65 72 73 69 73 74 65 6e 74 20 73 74 61 74 65 20  ersistent state 
07e0: 6f 66 0a 09 23 20 74 68 69 73 20 70 61 73 73 2e  of..# this pass.
07f0: 0a 09 72 65 74 75 72 6e 0a 20 20 20 20 7d 0a 0a  ..return.    }..
0800: 20 20 20 20 74 79 70 65 6d 65 74 68 6f 64 20 6c      typemethod l
0810: 6f 61 64 20 7b 7d 20 7b 0a 09 23 20 50 61 73 73  oad {} {..# Pass
0820: 20 6d 61 6e 61 67 65 72 20 69 6e 74 65 72 66 61   manager interfa
0830: 63 65 2e 20 45 78 65 63 75 74 65 64 20 74 6f 20  ce. Executed to 
0840: 6c 6f 61 64 20 64 61 74 61 20 63 6f 6d 70 75 74  load data comput
0850: 65 64 20 62 79 0a 09 23 20 74 68 69 73 20 70 61  ed by..# this pa
0860: 73 73 20 69 6e 74 6f 20 6d 65 6d 6f 72 79 20 77  ss into memory w
0870: 68 65 6e 20 74 68 69 73 20 70 61 73 73 20 69 73  hen this pass is
0880: 20 73 6b 69 70 70 65 64 20 69 6e 73 74 65 61 64   skipped instead
0890: 20 6f 66 0a 09 23 20 65 78 65 63 75 74 65 64 2e   of..# executed.
08a0: 0a 09 72 65 74 75 72 6e 0a 20 20 20 20 7d 0a 0a  ..return.    }..
08b0: 20 20 20 20 74 79 70 65 6d 65 74 68 6f 64 20 72      typemethod r
08c0: 75 6e 20 7b 7d 20 7b 0a 09 23 20 50 61 73 73 20  un {} {..# Pass 
08d0: 6d 61 6e 61 67 65 72 20 69 6e 74 65 72 66 61 63  manager interfac
08e0: 65 2e 20 45 78 65 63 75 74 65 64 20 74 6f 20 70  e. Executed to p
08f0: 65 72 66 6f 72 6d 20 74 68 65 0a 09 23 20 66 75  erform the..# fu
0900: 6e 63 74 69 6f 6e 61 6c 69 74 79 20 6f 66 20 74  nctionality of t
0910: 68 65 20 70 61 73 73 2e 0a 09 72 65 74 75 72 6e  he pass...return
0920: 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 79 70 65  .    }..    type
0930: 6d 65 74 68 6f 64 20 64 69 73 63 61 72 64 20 7b  method discard {
0940: 7d 20 7b 0a 09 23 20 50 61 73 73 20 6d 61 6e 61  } {..# Pass mana
0950: 67 65 72 20 69 6e 74 65 72 66 61 63 65 2e 20 45  ger interface. E
0960: 78 65 63 75 74 65 64 20 66 6f 72 20 61 6c 6c 20  xecuted for all 
0970: 70 61 73 73 65 73 20 61 66 74 65 72 20 74 68 65  passes after the
0980: 0a 09 23 20 72 75 6e 20 70 61 73 73 65 73 2c 20  ..# run passes, 
0990: 74 6f 20 72 65 6d 6f 76 65 20 61 6c 6c 20 64 61  to remove all da
09a0: 74 61 20 6f 66 20 74 68 69 73 20 70 61 73 73 20  ta of this pass 
09b0: 66 72 6f 6d 20 74 68 65 20 73 74 61 74 65 2c 0a  from the state,.
09c0: 09 23 20 61 73 20 62 65 69 6e 67 20 6f 75 74 20  .# as being out 
09d0: 6f 66 20 64 61 74 65 2e 0a 09 72 65 74 75 72 6e  of date...return
09e0: 0a 20 20 20 20 7d 0a 0a 20 20 20 20 23 20 23 20  .    }..    # # 
09f0: 23 23 20 23 23 23 20 23 23 23 23 23 20 23 23 23  ## ### ##### ###
0a00: 23 23 23 23 23 20 23 23 23 23 23 23 23 23 23 23  ##### ##########
0a10: 23 23 23 0a 20 20 20 20 23 23 20 49 6e 74 65 72  ###.    ## Inter
0a20: 6e 61 6c 20 6d 65 74 68 6f 64 73 0a 0a 20 20 20  nal methods..   
0a30: 20 23 20 23 20 23 23 20 23 23 23 20 23 23 23 23   # # ## ### ####
0a40: 23 20 23 23 23 23 23 23 23 23 20 23 23 23 23 23  # ######## #####
0a50: 23 23 23 23 23 23 23 23 0a 20 20 20 20 23 23 20  ########.    ## 
0a60: 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 0a 0a 20  Configuration.. 
0a70: 20 20 20 70 72 61 67 6d 61 20 2d 68 61 73 69 6e     pragma -hasin
0a80: 73 74 61 6e 63 65 73 20 20 20 6e 6f 20 3b 20 23  stances   no ; #
0a90: 20 73 69 6e 67 6c 65 74 6f 6e 0a 20 20 20 20 70   singleton.    p
0aa0: 72 61 67 6d 61 20 2d 68 61 73 74 79 70 65 69 6e  ragma -hastypein
0ab0: 66 6f 20 20 20 20 6e 6f 20 3b 20 23 20 6e 6f 20  fo    no ; # no 
0ac0: 69 6e 74 72 6f 73 70 65 63 74 69 6f 6e 0a 20 20  introspection.  
0ad0: 20 20 70 72 61 67 6d 61 20 2d 68 61 73 74 79 70    pragma -hastyp
0ae0: 65 64 65 73 74 72 6f 79 20 6e 6f 20 3b 20 23 20  edestroy no ; # 
0af0: 69 6d 6d 6f 72 74 61 6c 0a 0a 20 20 20 20 23 20  immortal..    # 
0b00: 23 20 23 23 20 23 23 23 20 23 23 23 23 23 20 23  # ## ### ##### #
0b10: 23 23 23 23 23 23 23 20 23 23 23 23 23 23 23 23  ####### ########
0b20: 23 23 23 23 23 0a 7d 0a 0a 6e 61 6d 65 73 70 61  #####.}..namespa
0b30: 63 65 20 65 76 61 6c 20 3a 3a 76 63 3a 3a 66 6f  ce eval ::vc::fo
0b40: 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a 3a 63 76  ssil::import::cv
0b50: 73 3a 3a 70 61 73 73 20 7b 0a 20 20 20 20 6e 61  s::pass {.    na
0b60: 6d 65 73 70 61 63 65 20 65 78 70 6f 72 74 20 62  mespace export b
0b70: 72 65 61 6b 61 63 79 63 6c 65 0a 20 20 20 20 6e  reakacycle.    n
0b80: 61 6d 65 73 70 61 63 65 20 65 76 61 6c 20 62 72  amespace eval br
0b90: 65 61 6b 61 63 79 63 6c 65 20 7b 0a 09 6e 61 6d  eakacycle {..nam
0ba0: 65 73 70 61 63 65 20 69 6d 70 6f 72 74 20 3a 3a  espace import ::
0bb0: 76 63 3a 3a 66 6f 73 73 69 6c 3a 3a 69 6d 70 6f  vc::fossil::impo
0bc0: 72 74 3a 3a 63 76 73 3a 3a 63 79 63 6c 65 62 72  rt::cvs::cyclebr
0bd0: 65 61 6b 65 72 0a 09 6e 61 6d 65 73 70 61 63 65  eaker..namespace
0be0: 20 69 6d 70 6f 72 74 20 3a 3a 76 63 3a 3a 66 6f   import ::vc::fo
0bf0: 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a 3a 63 76  ssil::import::cv
0c00: 73 3a 3a 73 74 61 74 65 0a 09 6e 61 6d 65 73 70  s::state..namesp
0c10: 61 63 65 20 65 76 61 6c 20 70 72 6f 6a 65 63 74  ace eval project
0c20: 20 7b 0a 09 20 20 20 20 6e 61 6d 65 73 70 61 63   {..    namespac
0c30: 65 20 69 6d 70 6f 72 74 20 3a 3a 76 63 3a 3a 66  e import ::vc::f
0c40: 6f 73 73 69 6c 3a 3a 69 6d 70 6f 72 74 3a 3a 63  ossil::import::c
0c50: 76 73 3a 3a 70 72 6f 6a 65 63 74 3a 3a 72 65 76  vs::project::rev
0c60: 0a 09 7d 0a 09 6e 61 6d 65 73 70 61 63 65 20 69  ..}..namespace i
0c70: 6d 70 6f 72 74 20 3a 3a 76 63 3a 3a 74 6f 6f 6c  mport ::vc::tool
0c80: 73 3a 3a 6c 6f 67 0a 09 6c 6f 67 20 72 65 67 69  s::log..log regi
0c90: 73 74 65 72 20 62 72 65 61 6b 61 63 79 63 6c 65  ster breakacycle
0ca0: 0a 20 20 20 20 7d 0a 7d 0a 0a 23 20 23 20 23 23  .    }.}..# # ##
0cb0: 20 23 23 23 20 23 23 23 23 23 20 23 23 23 23 23   ### ##### #####
0cc0: 23 23 23 20 23 23 23 23 23 23 23 23 23 23 23 23  ### ############
0cd0: 23 20 23 23 23 23 23 23 23 23 23 23 23 23 23 23  # ##############
0ce0: 23 23 23 23 23 23 23 0a 23 23 20 52 65 61 64 79  #######.## Ready
0cf0: 0a 0a 70 61 63 6b 61 67 65 20 70 72 6f 76 69 64  ..package provid
0d00: 65 20 76 63 3a 3a 66 6f 73 73 69 6c 3a 3a 69 6d  e vc::fossil::im
0d10: 70 6f 72 74 3a 3a 63 76 73 3a 3a 70 61 73 73 3a  port::cvs::pass:
0d20: 3a 62 72 65 61 6b 61 63 79 63 6c 65 20 31 2e 30  :breakacycle 1.0
0d30: 0a 72 65 74 75 72 6e 0a                          .return.