D4031: pycompat: add xrange alias for Python 2
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Aug 1 16:19:45 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7eba8f83129b: pycompat: add xrange alias for Python 2 (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4031?vs=9733&id=9737
REVISION DETAIL
https://phab.mercurial-scm.org/D4031
AFFECTED FILES
mercurial/pycompat.py
CHANGE DETAILS
diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py
--- a/mercurial/pycompat.py
+++ b/mercurial/pycompat.py
@@ -331,6 +331,7 @@
else:
import cStringIO
+ xrange = xrange
unicode = unicode
bytechr = chr
byterepr = repr
To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list