summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <hausmann@kde.org>2007-02-07 23:51:51 +0100
committerLibravatar Simon Hausmann <hausmann@kde.org>2007-02-07 23:51:51 +0100
commit1e30c07dfcd0ca74ff4aec2004b5722e69b5a639 (patch)
treee377d78fbdd0dfff1372c1a039ce557b64169d6e /contrib
parentMake specifying the revision ranges more convenient. (diff)
downloadtgif-1e30c07dfcd0ca74ff4aec2004b5722e69b5a639.tar.xz
Fix calculation of the newest imported revision for #head imports.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/p4-fast-export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py
index 16e3d8d42a..36381fbecd 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