chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "stg branch --delete" on a nonexistent branch
[stgit]
/
stgit
/
stack.py
diff --git
a/stgit/stack.py
b/stgit/stack.py
index 7fe9f2b618fc6b60b883cc1e009867b1451eceef..1f0129525aeba2f5713905988cb86ec51fd772e6 100644
(file)
--- a/
stgit/stack.py
+++ b/
stgit/stack.py
@@
-661,7
+661,7
@@
class Series(PatchSet):
try:
git.delete_branch(self.get_name())
try:
git.delete_branch(self.get_name())
- except GitException:
+ except
git.
GitException:
out.warn('Could not delete branch "%s"' % self.get_name())
config.remove_section('branch.%s' % self.get_name())
out.warn('Could not delete branch "%s"' % self.get_name())
config.remove_section('branch.%s' % self.get_name())