chiark / gitweb /
Fix more commands to run correctly in subdirectories
[stgit] / stgit / commands / delete.py
index fdb254ec18763e9ebcfc000303c8d72a5ac59f25..1696cb9c5497efae8a0a51955f4b5226147cd916 100644 (file)
@@ -36,7 +36,7 @@ patches are deleted, they are popped from the stack.
 
 Note that the 'delete' operation is irreversible."""
 
-directory = DirectoryHasRepository()
+directory = DirectoryGotoToplevel()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one')]