~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/weave.py

  • Committer: Aaron Bentley
  • Date: 2005-10-04 04:32:32 UTC
  • mfrom: (1185.12.6)
  • mto: (1185.12.13)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: aaron.bentley@utoronto.ca-20051004043231-40302a149769263b
merged my own changes

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)