remote-bzr: fix old organization destroy

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Sandor Bodo-Merle 2013-05-17 05:32:28 -05:00 committed by Junio C Hamano
parent 629b60a77d
commit a70ae5873d

View File

@ -837,6 +837,8 @@ def get_repo(url, alias):
bdir.destroy_repository()
except bzrlib.errors.NotBranchError:
pass
except bzrlib.errors.NoRepositoryPresent:
pass
try:
repo = origin.open_repository()