Code

Fix calculation of the newest imported revision for #head imports.
authorSimon Hausmann <hausmann@kde.org>
Wed, 7 Feb 2007 22:51:51 +0000 (23:51 +0100)
committerSimon Hausmann <hausmann@kde.org>
Wed, 7 Feb 2007 22:51:51 +0000 (23:51 +0100)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/p4-fast-export.py

index 16e3d8d42acd297a295c38b31753eee32f1b4a48..36381fbecd97d95867ab3e56e966b97404411680 100755 (executable)
@@ -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