py3: use range instead of xrange in tests/test-commandserver.t
xrange is not present on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D2327
--- a/tests/test-commandserver.t Sun Feb 18 18:07:12 2018 +0530
+++ b/tests/test-commandserver.t Sun Feb 18 18:28:45 2018 +0530
@@ -411,7 +411,7 @@
... # load _phasecache._phaserevs and _phasesets
... runcommand(server, ['log', '-qr', 'draft()'])
... # create draft commits by another process
- ... for i in xrange(5, 7):
+ ... for i in range(5, 7):
... f = open('a', 'ab')
... f.seek(0, os.SEEK_END)
... f.write('a\n')