~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavestore.py

  • Committer: Robert Collins
  • Date: 2005-09-30 14:27:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050930142741-fc326c828b5bbefd
text_version and name_version unification looking reasonable

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        w.add(rev_id, parent_idxs, new_lines)
103
103
        self.put_weave(file_id, w)
104
104
        
105
 
     
 
105
    def add_identical_text(self, file_id, old_rev_id, new_rev_id, parents):
 
106
        w = self.get_weave_or_empty(file_id)
 
107
        parent_idxs = map(w.lookup, parents)
 
108
        w.add_identical(old_rev_id, new_rev_id, parent_idxs)
 
109
        self.put_weave(file_id, w)