~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-29 04:35:40 UTC
  • mfrom: (2381.1.4 hpss-test-correctness)
  • Revision ID: pqm@pqm.ubuntu.com-20070329043540-952aff23533c1c26
(robertc) Various test suite changes and cleanups in preparation for the next hpss branch. (Robert Collins, Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        except (errors.UninitializableFormat):
130
130
            # Cannot create these branches
131
131
            return
132
 
        tree = a_branch.bzrdir.create_workingtree()
 
132
        try:
 
133
            tree = a_branch.bzrdir.create_workingtree()
 
134
        except errors.NotLocalUrl:
 
135
            tree = a_branch.create_checkout('repo/tree', lightweight=True)
133
136
        self.build_tree(['repo/tree/a'])
134
137
        tree.add(['a'])
135
138
        tree.commit('a')