Browse Source

Fix file determination for #head imports

Signed-off-by: Simon Hausmann <simon@lst.de>
maint
Simon Hausmann 18 years ago
parent
commit
c45b1cfe1e
  1. 3
      contrib/fast-import/git-p4

3
contrib/fast-import/git-p4

@ -938,7 +938,8 @@ class P4Sync(Command):
newestRevision = change newestRevision = change


if info["action"] == "delete": if info["action"] == "delete":
fileCnt = fileCnt + 1 # don't increase the file cnt, otherwise details["depotFile123"] will have gaps!
#fileCnt = fileCnt + 1
continue continue


for prop in [ "depotFile", "rev", "action", "type" ]: for prop in [ "depotFile", "rev", "action", "type" ]:

Loading…
Cancel
Save