Provide a little bit of help description for the git-p4 "tools".
[gitweb.git] / contrib / fast-import / p4-fast-export.py
index a6dbd3b98dd33ffb62031649dbd2838d450456d5..9adb88fadeed0ae1ff744294c2d8a58118b368a8 100755 (executable)
@@ -330,7 +330,7 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""):
         action = file["action"]
 
         if file["type"] == "apple":
-            print "\nfile %s is a strange apple file that forks. Ignoring!" %s path
+            print "\nfile %s is a strange apple file that forks. Ignoring!" % path
             continue
 
         if action == "delete":
@@ -608,7 +608,7 @@ def getUserMap():
                         merged = "refs/heads/" + merged
                     commit(description, files, branch, branchPrefix, parent, merged)
             else:
-                commit(description, filesForCommit, branch, globalPrefix, initialParent)
+                commit(description, files, branch, globalPrefix, initialParent)
                 initialParent = ""
         except IOError:
             print gitError.read()