From bdea385bce305482d3c3b8ab7fb019e7acf4a521 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karl=20Hasselstr=C3=B6m?= Date: Sat, 22 Sep 2007 09:58:24 +0200 Subject: [PATCH] Don't try to delete the branch twice MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 file changed, 1 deletion(-) 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() -- 2.11.0