chiark / gitweb /
Fix more commands to run correctly in subdirectories
[stgit] / stgit / commands / float.py
index 6c07136b0fa6aa9f210ee88b7269316d1312bb9d..0ba4446645a79aa722afc00a3940c7c3f70e613d 100644 (file)
@@ -31,7 +31,7 @@ necessary pop and push operations will be performed to accomplish
 this. The '--series' option can be used to rearrange the (top) patches
 as specified by the given series file (or the standard input)."""
 
-directory = DirectoryHasRepository()
+directory = DirectoryGotoToplevel()
 options = [make_option('-s', '--series',
                        help = 'rearrange according to a series file',
                        action = 'store_true')]