~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the 'autobcc' config option
[stgit]
/
stgit
/
commands
/
clean.py
diff --git
a/stgit/commands/clean.py
b/stgit/commands/clean.py
index
3c2649b
..
baa4a54
100644
(file)
--- a/
stgit/commands/clean.py
+++ b/
stgit/commands/clean.py
@@
-65,7
+65,8
@@
def func(parser, options, args):
if options.applied:
applied = crt_series.get_applied()
- crt_series.pop_patch(applied[0])
+ if applied != []:
+ crt_series.pop_patch(applied[0])
__delete_empty(applied, True)
if options.unapplied: