Browse Source

remote-bzr: fix old organization destroy

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Sandor Bodo-Merle 12 years ago committed by Junio C Hamano
parent
commit
a70ae5873d
  1. 2
      contrib/remote-helpers/git-remote-bzr

2
contrib/remote-helpers/git-remote-bzr

@ -837,6 +837,8 @@ def get_repo(url, alias): @@ -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()

Loading…
Cancel
Save