~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Aaron Bentley
  • Date: 2005-10-03 19:50:36 UTC
  • mfrom: (1399)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: abentley@panoramicfeedback.com-20051003195036-28dbd56f0e852b08
Merged latest from Robert Collins

Show diffs side-by-side

added added

removed removed

Lines of Context:
379
379
 
380
380
        return new_version
381
381
 
 
382
    def add_identical(self, old_rev_id, new_rev_id, parents):
 
383
        """Add an identical text to old_rev_id as new_rev_id."""
 
384
        old_lines = self.get(self.lookup(old_rev_id))
 
385
        self.add(new_rev_id, parents, old_lines)
382
386
 
383
387
    def inclusions(self, versions):
384
388
        """Return set of all ancestors of given version(s)."""