/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Marius Kruger
  • Date: 2007-03-31 20:49:06 UTC
  • mfrom: (2384 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2455.
  • Revision ID: amanic@gmail.com-20070331204906-iai2v10wk3l3lt12
merge bzr.dev

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')