~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Simplify code in RemoteBranch to use helpers from Branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        """Get the repository we fallback to at url."""
172
172
        url = urlutils.join(self.base, url)
173
173
        a_bzrdir = bzrdir.BzrDir.open(url,
174
 
                                      possible_transports=[self._transport])
 
174
            possible_transports=[self.bzrdir.root_transport])
175
175
        return a_bzrdir.open_branch().repository
176
176
 
177
177
    def _get_tags_bytes(self):