@matheusbsbs / matheus-bagliano / commits / 2a9489c024
Fork 0

Fix "compilation" :)

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Simon Hausmann committed Apr 1, 2007 at 13:39 UTC 2a9489c0249c8aef6c6ead501bae25771e710e12
1 file changed +2 -2
contrib/fast-import/git-p4
+2 -2
@@ -416,7 +416,7 @@ class GitSync(Command):
416 optparse.make_option("--changesfile", dest="changesFile"),
417 optparse.make_option("--silent", dest="silent", action="store_true"),
418 optparse.make_option("--known-branches", dest="knownBranches"),
419 - optparse.make_option("--cache", dest="doCache", action="store_true"),
419 + optparse.make_option("--data-cache", dest="dataCache", action="store_true"),
420 optparse.make_option("--command-cache", dest="commandCache", action="store_true")
421 ]
422 self.description = """Imports from Perforce into a git repository.\n
@@ -500,7 +500,7 @@ class GitSync(Command):
500 if knownBranch:
501 continue
502
503 - for branch in knownBranches:
503 + for branch in self.knownBranches:
504 #if relativePath.startswith(branch):
505 if self.isSubPathOf(relativePath, branch):
506 if len(branches) == 0: