chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / delete.py
index 2121015461f27ad43dec499fa2babd70f2476b17..84628571c21ed4ee2300308af6f4b5bcd1cc830a 100644 (file)
@@ -36,6 +36,7 @@ patches are deleted, they are popped from the stack.
 
 Note that the 'delete' operation is irreversible."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one')]