150
152
tree = a_branch.bzrdir.create_workingtree()
151
153
except errors.NotLocalUrl:
153
155
# the branch is colocated on disk, we cannot create a checkout.
154
156
# hopefully callers will expect this.
155
157
local_controldir= bzrdir.BzrDir.open(