Skip to content

Commit

Permalink
remote-bzr: fix old organization destroy
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sandor Bodo-Merle authored and Junio C Hamano committed May 17, 2013
1 parent 629b60a commit a70ae58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/remote-helpers/git-remote-bzr
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a70ae58

Please sign in to comment.