From: Karl Hasselström Date: Sat, 22 Sep 2007 08:46:25 GMT Subject: [StGit PATCH 2/4] Don't try to delete the branch twice Message-ID: <20070922084625.29884.63499.stgit@yoghurt> In-Reply-To: <20070922084334.29884.60506.stgit@yoghurt> We already delete it in Stack.delete(), so don't do it here too. Signed-off-by: Karl Hasselström --- stgit/commands/branch.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/stgit/commands/branch.py b/stgit/commands/branch.py index 8c99936..c16fc69 100644 --- a/stgit/commands/branch.py +++ b/stgit/commands/branch.py @@ -99,7 +99,6 @@ def __delete_branch(doomed_name, force = False): raise CmdException('Cannot delete the current branch') doomed.delete(force) - git.delete_branch(doomed_name) out.done()