344
343
if self._create_reference:
345
344
reference_branch.repository.fetch(self.repository)
346
345
elif self.local_branch is not None and not self._destroy_branch:
348
347
up_bzrdir = bzrdir.BzrDir.open_containing_from_transport(up)[0]
349
348
new_repo = up_bzrdir.find_repository()
350
349
new_repo.fetch(self.repository)