~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-07 01:06:26 UTC
  • mto: (6437.3.4 2.5)
  • mto: This revision was merged to the branch mainline in revision 6441.
  • Revision ID: jelmer@samba.org-20120107010626-vytp4nsgs8c3hnc3
Fix some tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1086
1086
 
1087
1087
        return ret
1088
1088
 
1089
 
    def get_branch_transport(self, branch_format, name):
 
1089
    def get_branch_transport(self, branch_format, name=None):
1090
1090
        """See BzrDir.get_branch_transport()."""
 
1091
        if name is None:
 
1092
            name = self._get_selected_branch()
1091
1093
        path = self._get_branch_path(name)
1092
1094
        # XXX: this shouldn't implicitly create the directory if it's just
1093
1095
        # promising to get a transport -- mbp 20090727