~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-30 04:38:44 UTC
  • mfrom: (1908.6.14 use set_parent_trees.)
  • Revision ID: pqm@pqm.ubuntu.com-20060830043844-d570350402a5ad15
Use the new WorkingTree parent-management apis throughout the codebase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
        ancestry = self.this_branch.repository.get_ancestry(self.this_basis)
184
184
        if self.other_rev_id in ancestry:
185
185
            return
186
 
        self.this_tree.add_pending_merge(self.other_rev_id)
 
186
        self.this_tree.add_parent_tree((self.other_rev_id, self.other_tree))
187
187
 
188
188
    def set_other(self, other_revision):
189
189
        other_branch, self.other_tree = _get_tree(other_revision,