chiark
/
gitweb
/
~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
/
rename.py
diff --git
a/stgit/commands/rename.py
b/stgit/commands/rename.py
index 2830e72682df5eba4617cee3a50bee5ae2e65221..e2b0fa4160a913af944064fa3ea10be9c61fe4c1 100644
(file)
--- a/
stgit/commands/rename.py
+++ b/
stgit/commands/rename.py
@@
-29,6
+29,7
@@
usage = """%prog [options] <oldpatch> <newpatch>
Rename <oldpatch> into <newpatch> in a series."""
+directory = DirectoryHasRepository()
options = [make_option('-b', '--branch',
help = 'use BRANCH instead of the default one')]