chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / sync.py
index 580b5bd00fb7c96a839f555e31d11d7062d9cefe..8a31c29301bf2ee5ed6bf28a6d34c6cffe266603 100644 (file)
@@ -36,6 +36,7 @@ in the series must apply cleanly.
 
 The sync operation can be reverted for individual patches with --undo."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-a', '--all',
                        help = 'synchronise all the patches',
                        action = 'store_true'),