From 13b8d8fd8d7dedd8ffa1089b274b5ee72ab9b211 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 8 Apr 2007 10:13:32 +0200 Subject: [PATCH] Fix file determination for #head imports --- git-p4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-p4 b/git-p4 index 0a22d9a..28b0885 100755 --- a/git-p4 +++ b/git-p4 @@ -938,7 +938,8 @@ class P4Sync(Command): newestRevision = change if info["action"] == "delete": - fileCnt = fileCnt + 1 + # don't increase the file cnt, otherwise details["depotFile123"] will have gaps! + #fileCnt = fileCnt + 1 continue for prop in [ "depotFile", "rev", "action", "type" ]: -- 2.11.4.GIT