~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to knit.py

  • Committer: Martin Pool
  • Date: 2005-06-27 04:26:07 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mbp@sourcefrog.net-20050627042607-5b203e23a1580d79
Start computing a delta to insert a new revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
 
132
132
 
133
133
 
 
134
    def _delta(self, included, lines):
 
135
        """Return changes from basis to new revision.
 
136
 
 
137
        The old text for comparison is the union of included revisions.
 
138
 
 
139
        This is used in inserting a new text.
 
140
        """
 
141
 
 
142
 
 
143
 
134
144
 
135
145
def update_knit(knit, new_vers, new_lines):
136
146
    """Return a new knit whose text matches new_lines.