diff -r 44b26349127b -r d44e3c45f0e4 mercurial/httppeer.py --- a/mercurial/httppeer.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/httppeer.py Sun May 29 15:17:27 2022 +0200 @@ -55,7 +55,7 @@ result = [] n = 0 - for i in pycompat.xrange(0, len(value), valuelen): + for i in range(0, len(value), valuelen): n += 1 result.append((fmt % str(n), pycompat.strurl(value[i : i + valuelen])))