mercurial/scmutil.py
changeset 38783 e7aa113b14f7
parent 38768 afc4ad706f9c
child 38799 2002c193f2bc
--- a/mercurial/scmutil.py	Wed Aug 01 12:57:15 2018 -0700
+++ b/mercurial/scmutil.py	Wed Aug 01 13:00:45 2018 -0700
@@ -1542,7 +1542,7 @@
         @reportsummary
         def reportnewcs(repo, tr):
             """Report the range of new revisions pulled/unbundled."""
-            newrevs = tr.changes.get('revs', xrange(0, 0))
+            newrevs = tr.changes.get('revs', pycompat.xrange(0, 0))
             if not newrevs:
                 return
 
@@ -1565,7 +1565,7 @@
             """Report statistics of phase changes for changesets pre-existing
             pull/unbundle.
             """
-            newrevs = tr.changes.get('revs', xrange(0, 0))
+            newrevs = tr.changes.get('revs', pycompat.xrange(0, 0))
             phasetracking = tr.changes.get('phases', {})
             if not phasetracking:
                 return