diff -r 44b26349127b -r d44e3c45f0e4 mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/wireprotoserver.py Sun May 29 15:17:27 2022 +0200 @@ -390,14 +390,14 @@ def getargs(self, args): data = {} keys = args.split() - for n in pycompat.xrange(len(keys)): + for n in range(len(keys)): argline = self._fin.readline()[:-1] arg, l = argline.split() if arg not in keys: raise error.Abort(_(b"unexpected parameter %r") % arg) if arg == b'*': star = {} - for k in pycompat.xrange(int(l)): + for k in range(int(l)): argline = self._fin.readline()[:-1] arg, l = argline.split() val = self._fin.read(int(l))