chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / rename.py
index 2830e72682df5eba4617cee3a50bee5ae2e65221..e2b0fa4160a913af944064fa3ea10be9c61fe4c1 100644 (file)
@@ -29,6 +29,7 @@ usage = """%prog [options] <oldpatch> <newpatch>
 
 Rename <oldpatch> into <newpatch> in a series."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one')]