~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
2830e72
..
e2b0fa4
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')]