~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
690
690
        # it fails; a better way of approaching this is to 
691
691
        # finally implement the explicit-caches approach design
692
692
        # a while back - RBC 20070306.
693
 
        if (sub_tree.branch.repository.bzrdir.root_transport.base
694
 
            ==
695
 
            self.work_tree.branch.repository.bzrdir.root_transport.base):
 
693
        if sub_tree.branch.repository.has_same_location(
 
694
            self.work_tree.branch.repository):
696
695
            sub_tree.branch.repository = \
697
696
                self.work_tree.branch.repository
698
697
        try: