2371
2359
if isinstance(a_bzrdir, RemoteBzrDir):
2373
2361
result = self._custom_format.initialize(a_bzrdir._real_bzrdir,
2376
2364
# We assume the bzrdir is parameterised; it may not be.
2379
2366
if (isinstance(a_bzrdir, RemoteBzrDir) and
2380
2367
not isinstance(result, RemoteBranch)):
2381
2368
result = RemoteBranch(a_bzrdir, a_bzrdir.find_repository(), result,
2385
def initialize(self, a_bzrdir, name=None, repository=None,
2372
def initialize(self, a_bzrdir, name=None, repository=None):
2387
2373
# 1) get the network name to use.
2389
2375
network_name = self._custom_format.network_name()