chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / goto.py
index a4427faae58d6415611bceb7c48771586cca9aec..9e008a9e1a660e3f7719aca2be10df4d79747179 100644 (file)
@@ -31,6 +31,7 @@ line becomes current. This is a shortcut for the 'push --to' or 'pop
 --to' commands. There is no '--undo' option for 'goto'. Use the 'push'
 command for this."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-k', '--keep',
                        help = 'keep the local changes when popping patches',
                        action = 'store_true')]