2358
2361
if isinstance(a_bzrdir, RemoteBzrDir):
2360
2363
result = self._custom_format.initialize(a_bzrdir._real_bzrdir,
2363
2366
# We assume the bzrdir is parameterised; it may not be.
2365
2369
if (isinstance(a_bzrdir, RemoteBzrDir) and
2366
2370
not isinstance(result, RemoteBranch)):
2367
2371
result = RemoteBranch(a_bzrdir, a_bzrdir.find_repository(), result,
2371
def initialize(self, a_bzrdir, name=None, repository=None):
2375
def initialize(self, a_bzrdir, name=None, repository=None,
2372
2377
# 1) get the network name to use.
2374
2379
network_name = self._custom_format.network_name()