~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Misc fixes for running the regular bzr tests against foreign
 branches. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
            return
160
160
        try:
161
161
            tree = a_branch.bzrdir.create_workingtree()
 
162
        except errors.UnsupportedOperation:
 
163
            self.assertFalse(a_branch.bzrdir._format.supports_workingtrees)
 
164
            tree = a_branch.create_checkout('repo/tree', lightweight=True)
162
165
        except errors.NotLocalUrl:
163
166
            if self.vfs_transport_factory is test_server.LocalURLServer:
164
167
                # the branch is colocated on disk, we cannot create a checkout.