~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move identification of parent branch's remote def up into stack class.
[stgit]
/
stgit
/
commands
/
rm.py
diff --git
a/stgit/commands/rm.py
b/stgit/commands/rm.py
index
2005005
..
91908a1
100644
(file)
--- a/
stgit/commands/rm.py
+++ b/
stgit/commands/rm.py
@@
-41,4
+41,7
@@
def func(parser, options, args):
if len(args) < 1:
parser.error('incorrect number of arguments')
+ if not crt_series.get_current():
+ raise CmdException, 'No patches applied'
+
git.rm(args, options.force)