~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to weave.py

  • Committer: Martin Pool
  • Date: 2005-06-28 08:57:48 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mbp@sourcefrog.net-20050628085748-4df85f5d3304e7f1
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
    The instruction can be '{' or '}' for an insertion block, and '['
67
67
    and ']' for a deletion block respectively.  The version is the
68
 
    integer version index.
 
68
    integer version index.  There is no replace operator, only deletes
 
69
    and inserts.
69
70
 
70
71
    Constraints/notes:
71
72
 
78
79
      each other, because they might have been generated by
79
80
      independent revisions.
80
81
 
 
82
    * Insertions are always made by inserting a new bracketed block
 
83
      into a single point in the previous weave.  This implies they
 
84
      can nest but not overlap, and the nesting must always have later
 
85
      insertions on the inside.
 
86
 
81
87
    * It doesn't seem very useful to have an active insertion
82
88
      inside an inactive insertion, but it might happen.
83
 
 
 
89
      
84
90
    * Therefore, all instructions are always"considered"; that
85
91
      is passed onto and off the stack.  An outer inactive block
86
92
      doesn't disable an inner block.