~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/weave.py

  • Committer: Robert Collins
  • Date: 2005-10-03 01:15:02 UTC
  • mfrom: (1092.2.28)
  • Revision ID: robertc@robertcollins.net-20051003011502-f579a509a136b774
mergeĀ fromĀ baz2bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        w.add(rev_id, parent_idxs, new_lines)
116
116
        self.put_weave(file_id, w)
117
117
        
 
118
    def add_identical_text(self, file_id, old_rev_id, new_rev_id, parents):
 
119
        w = self.get_weave_or_empty(file_id)
 
120
        parent_idxs = map(w.lookup, parents)
 
121
        w.add_identical(old_rev_id, new_rev_id, parent_idxs)
 
122
        self.put_weave(file_id, w)
118
123
     
119
124
    def copy_multi(self, from_store, file_ids):
120
125
        assert isinstance(from_store, WeaveStore)