Infrastructure for current directory handling
[stgit] / stgit / commands / rename.py
index 2830e72..e2b0fa4 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')]