~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-11 13:47:06 UTC
  • mfrom: (5051.3.16 use-branch-open)
  • Revision ID: pqm@pqm.ubuntu.com-20100311134706-kaerqhx3lf7xn6rh
(Jelmer) Pass colocated branch names further down the call stack.

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        dir = self.make_bzrdir('.')
215
215
        local_result = dir.cloning_metadir()
216
216
        reference = _mod_branch.BranchReferenceFormat().initialize(
217
 
            dir, referenced_branch)
 
217
            dir, target_branch=referenced_branch)
218
218
        reference_url = _mod_branch.BranchReferenceFormat().get_reference(dir)
219
219
        # The server shouldn't try to follow the branch reference, so it's fine
220
220
        # if the referenced branch isn't reachable.