D5302: py3: use pycompat.xrange instead of xrange
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Nov 28 07:10:25 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGba706e3082bd: py3: use pycompat.xrange instead of xrange (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5302?vs=12606&id=12614
REVISION DETAIL
https://phab.mercurial-scm.org/D5302
AFFECTED FILES
tests/test-remotefilelog-histpack.py
CHANGE DETAILS
diff --git a/tests/test-remotefilelog-histpack.py b/tests/test-remotefilelog-histpack.py
--- a/tests/test-remotefilelog-histpack.py
+++ b/tests/test-remotefilelog-histpack.py
@@ -251,7 +251,7 @@
This causes it to use a 2^16 fanout table instead."""
total = basepack.SMALLFANOUTCUTOFF + 1
revisions = []
- for i in xrange(total):
+ for i in pycompat.xrange(total):
filename = b"foo-%d" % i
node = self.getFakeHash()
p1 = self.getFakeHash()
To: pulkit, #hg-reviewers
Cc: durin42, mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list