156
156
tree = a_branch.bzrdir.create_workingtree()
157
157
except errors.NotLocalUrl:
159
159
# the branch is colocated on disk, we cannot create a checkout.
160
160
# hopefully callers will expect this.
161
161
local_controldir = bzrdir.BzrDir.open(self.get_vfs_only_url('repo/tree'))