chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / imprt.py
index 717f3739c0da1aaa276de153e97eab0e39ecf896..045f18513213b4ccc4a7c7e8605fe0b0e4b05470 100644 (file)
@@ -44,6 +44,7 @@ stack.
 The patch description has to be separated from the data with a '---'
 line."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-m', '--mail',
                        help = 'import the patch from a standard e-mail file',
                        action = 'store_true'),