Don't try to delete the branch twice
authorKarl Hasselström <kha@treskal.com>
Sat, 22 Sep 2007 07:58:24 +0000 (09:58 +0200)
committerKarl Hasselström <kha@treskal.com>
Sat, 22 Sep 2007 07:58:24 +0000 (09:58 +0200)
We already delete it in Stack.delete(), so don't do it here too.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/branch.py

index 8c99936..c16fc69 100644 (file)
@@ -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()