~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2010-04-21 10:13:50 UTC
  • mto: This revision was merged to the branch mainline in revision 5189.
  • Revision ID: mbp@canonical.com-20100421101350-6eq02ssg8kx1tmb3
Go back to opening branch using url, so it can use all possible transports

Show diffs side-by-side

added added

removed removed

Lines of Context:
1405
1405
        :return: A branch associated with the file_id
1406
1406
        """
1407
1407
        # FIXME should provide multiple branches, based on config
1408
 
        return Branch.open_from_transport(
1409
 
            self.bzrdir.root_transport.clone(path),
1410
 
            possible_transports=possible_transports)
 
1408
        return Branch.open(self.user_transport.clone(path).base,
 
1409
                           possible_transports=possible_transports)
1411
1410
 
1412
1411
    def supports_tags(self):
1413
1412
        return self._format.supports_tags()