~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_foreign.py

Merge bzr.dev into cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
        self._control_files = lockable_files.LockableFiles(self.transport,
244
244
            "lock", lockable_files.TransportLock)
245
245
 
246
 
    def open_branch(self, ignore_fallbacks=True):
 
246
    def open_branch(self, name=None, unsupported=False, ignore_fallbacks=True):
 
247
        if name is not None:
 
248
            raise errors.NoColocatedBranchSupport(self)
247
249
        return self._format.get_branch_format().open(self, _found=True)
248
250
 
249
251
    def cloning_metadir(self, stacked=False):