Fix file determination for #head imports
Signed-off-by: Simon Hausmann <simon@lst.de>
Simon Hausmann committed
Apr 8, 2007 at 10:13 UTC
c45b1cfe1eda2cc67c4f07a0cd6986911d7c2fd8
1 file changed
+2
-1
contrib/fast-import/git-p4
+2
-1
@@ -938,7 +938,8 @@ class P4Sync(Command):
938
newestRevision = change
939
940
if info["action"] == "delete":
941
- fileCnt = fileCnt + 1
941
+ # don't increase the file cnt, otherwise details["depotFile123"] will have gaps!
942
+ #fileCnt = fileCnt + 1
943
continue
944
945
for prop in [ "depotFile", "rev", "action", "type" ]: