2246
2246
# creation contract must see it as uninitializable
2247
2247
raise errors.UninitializableFormat(self)
2248
2248
mutter('creating branch reference in %s', a_bzrdir.user_url)
2249
2251
branch_transport = a_bzrdir.get_branch_transport(self, name=name)
2250
2252
branch_transport.put_bytes('location',
2251
2253
target_branch.bzrdir.user_url)