~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix crash for empty description
[stgit]
/
stgit
/
commands
/
push.py
diff --git
a/stgit/commands/push.py
b/stgit/commands/push.py
index
6325483
..
6fbd779
100644
(file)
--- a/
stgit/commands/push.py
+++ b/
stgit/commands/push.py
@@
-117,6
+117,9
@@
def func(parser, options, args):
patches.reverse()
for p in patches:
+ if p not in unapplied:
+ raise CmdException, 'Patch "%s" not unapplied' % p
+
print 'Pushing patch "%s"...' % p,
sys.stdout.flush()