summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Sandor Bodo-Merle <sbodomerle@gmail.com>2013-05-17 05:32:28 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-17 10:59:08 -0700
commita70ae5873d601bccef9d27afa254b0ea3844b607 (patch)
tree449791de58ec5aae5ebd47a0bebde6574cbfa9d7
parentRevert "remote-hg: update bookmarks when pulling" (diff)
downloadtgif-a70ae5873d601bccef9d27afa254b0ea3844b607.tar.xz
remote-bzr: fix old organization destroy
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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()