diff -r 44b26349127b -r d44e3c45f0e4 mercurial/wireprotov1peer.py --- a/mercurial/wireprotov1peer.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/wireprotov1peer.py Sun May 29 15:17:27 2022 +0200 @@ -519,7 +519,7 @@ def between(self, pairs): batch = 8 # avoid giant requests r = [] - for i in pycompat.xrange(0, len(pairs), batch): + for i in range(0, len(pairs), batch): n = b" ".join( [ wireprototypes.encodelist(p, b'-')