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-Tag: v1.5.3-rc0~65^2^2~220 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e30c07dfcd0ca74ff4aec2004b5722e69b5a639;p=git.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 16e3d8d42..36381fbec 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