Fix git-p4 clone (defaultDestination)
authorMarius Storm-Olsen <mstormo_git@storm-olsen.com>
Thu, 7 Jun 2007 13:08:33 +0000 (15:08 +0200)
committerMarius Storm-Olsen <mstormo_git@storm-olsen.com>
Thu, 7 Jun 2007 13:08:33 +0000 (15:08 +0200)
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
contrib/fast-import/git-p4

index fc4e7d26f061621ac424a92b15cfc9132b76247b..89581eacaa54886fb3181f8be0a680c06fbaf5aa 100755 (executable)
@@ -1369,7 +1369,7 @@ class P4Clone(P4Sync):
                 return False
 
         if not self.cloneDestination:
-            self.cloneDestination = self.defaultDestination()
+            self.cloneDestination = self.defaultDestination(args)
 
         print "Importing from %s into %s" % (', '.join(depotPaths), self.cloneDestination)
         os.makedirs(self.cloneDestination)