chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix more commands to run correctly in subdirectories
[stgit]
/
stgit
/
commands
/
delete.py
diff --git
a/stgit/commands/delete.py
b/stgit/commands/delete.py
index fdb254ec18763e9ebcfc000303c8d72a5ac59f25..1696cb9c5497efae8a0a51955f4b5226147cd916 100644
(file)
--- a/
stgit/commands/delete.py
+++ b/
stgit/commands/delete.py
@@
-36,7
+36,7
@@
patches are deleted, they are popped from the stack.
Note that the 'delete' operation is irreversible."""
-directory = Directory
HasRepository
()
+directory = Directory
GotoToplevel
()
options = [make_option('-b', '--branch',
help = 'use BRANCH instead of the default one')]