From: Simon Hausmann Date: Wed, 7 Feb 2007 22:51:51 +0000 (+0100) Subject: Fix calculation of the newest imported revision for #head imports. X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=1e30c07dfcd0ca74ff4aec2004b5722e69b5a639;p=python%2Ffast-export.git Fix calculation of the newest imported revision for #head imports. Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 16e3d8d..36381fb 100755 --- a/contrib/fast-import/p4-fast-export.py +++ b/contrib/fast-import/p4-fast-export.py @@ -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