summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSandor Bodo-Merle <sbodomerle@gmail.com>2013-05-17 05:32:28 -0500
committerJunio C Hamano <gitster@pobox.com>2013-05-17 10:59:08 -0700
commita70ae5873d601bccef9d27afa254b0ea3844b607 (patch)
tree449791de58ec5aae5ebd47a0bebde6574cbfa9d7 /contrib
parent629b60a77d0bca1358af666605548acc4dcc5841 (diff)
downloadgit-a70ae5873d601bccef9d27afa254b0ea3844b607.tar.gz
remote-bzr: fix old organization destroy
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/remote-helpers/git-remote-bzr2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr
index ad42317ca0..8ecee6721d 100755
--- a/contrib/remote-helpers/git-remote-bzr
+++ b/contrib/remote-helpers/git-remote-bzr
@@ -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()