From a70ae5873d601bccef9d27afa254b0ea3844b607 Mon Sep 17 00:00:00 2001 From: Sandor Bodo-Merle Date: Fri, 17 May 2013 05:32:28 -0500 Subject: [PATCH] remote-bzr: fix old organization destroy Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- contrib/remote-helpers/git-remote-bzr | 2 ++ 1 file changed, 2 insertions(+) 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()