~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: 2007-11-13 17:48:49 UTC
  • mfrom: (2946.3.5 tree_root_id)
  • Revision ID: pqm@pqm.ubuntu.com-20071113174849-2zsajpakcs8uy1bo
(John Arbash Meinel) Consolidate all calls to get the root id of a tree to use Tree.get_root_id()

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
                                 self.tt.root)
551
551
        if self.other_tree.inventory.root is None:
552
552
            return
553
 
        other_root_file_id = self.other_tree.inventory.root.file_id
 
553
        other_root_file_id = self.other_tree.get_root_id()
554
554
        other_root = self.tt.trans_id_file_id(other_root_file_id)
555
555
        if other_root == self.tt.root:
556
556
            return