mirror of
https://github.com/git/git.git
synced 2024-09-28 04:10:41 +02:00
Fix calculation of the newest imported revision for #head imports.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
parent
23efd2545b
commit
1e30c07dfc
@ -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…
Reference in New Issue
Block a user