D2331: py3: use range instead of xrange in tests/test-revset2.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 18 09:17:47 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8591d6afc629: py3: use range instead of xrange in tests/test-revset2.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2331?vs=5860&id=5877
REVISION DETAIL
https://phab.mercurial-scm.org/D2331
AFFECTED FILES
tests/test-revset2.t
CHANGE DETAILS
diff --git a/tests/test-revset2.t b/tests/test-revset2.t
--- a/tests/test-revset2.t
+++ b/tests/test-revset2.t
@@ -420,7 +420,7 @@
test that repeated `-r` options never eat up stack (issue4565)
(uses `-r 0::1` to avoid possible optimization at old-style parser)
- $ hg log -T '{rev}\n' `$PYTHON -c "for i in xrange(500): print '-r 0::1 ',"`
+ $ hg log -T '{rev}\n' `$PYTHON -c "for i in range(500): print '-r 0::1 ',"`
0
1
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list