~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Infrastructure for current directory handling
[stgit]
/
stgit
/
commands
/
rm.py
diff --git
a/stgit/commands/rm.py
b/stgit/commands/rm.py
index
91908a1
..
59d098b
100644
(file)
--- a/
stgit/commands/rm.py
+++ b/
stgit/commands/rm.py
@@
-30,6
+30,7
@@
usage = """%prog [options] <files...>
Remove given files from the repository. The command doesn't remove the
working copy of the file."""
Remove given files from the repository. The command doesn't remove the
working copy of the file."""
+directory = DirectoryHasRepository()
options = [make_option('-f', '--force',
help = 'force removing even if the file exists',
action = 'store_true')]
options = [make_option('-f', '--force',
help = 'force removing even if the file exists',
action = 'store_true')]