Browse Source

Fix calculation of the newest imported revision for #head imports.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
maint
Simon Hausmann 18 years ago
parent
commit
1e30c07dfc
  1. 2
      contrib/fast-import/p4-fast-export.py

2
contrib/fast-import/p4-fast-export.py

@ -183,7 +183,7 @@ if len(revision) > 0: @@ -183,7 +183,7 @@ if len(revision) > 0:

fileCnt = 0
for info in p4CmdList("files %s...%s" % (prefix, revision)):
change = info["change"]
change = int(info["change"])
if change > newestRevision:
newestRevision = change


Loading…
Cancel
Save