git-p4: Fix the sorting of changelists when cloning a Perforce repository.
[gitweb.git] / contrib / fast-import / git-p4
index 805d632a682e3b999d90f575443e00ed92eccc5b..6d0106237aa5905fa4d8796bc68fcd399c697645 100755 (executable)
@@ -1322,7 +1322,7 @@ class P4Sync(Command):
 
                 for line in output:
                     changeNum = line.split(" ")[1]
-                    changes.append(changeNum)
+                    changes.append(int(changeNum))
 
                 changes.sort()