diff -r 44b26349127b -r d44e3c45f0e4 hgext/remotefilelog/shallowutil.py --- a/hgext/remotefilelog/shallowutil.py Sun May 29 12:38:54 2022 +0200 +++ b/hgext/remotefilelog/shallowutil.py Sun May 29 15:17:27 2022 +0200 @@ -454,14 +454,14 @@ def readnodelist(stream): rawlen = readexactly(stream, constants.NODECOUNTSIZE) nodecount = struct.unpack(constants.NODECOUNTSTRUCT, rawlen)[0] - for i in pycompat.xrange(nodecount): + for i in range(nodecount): yield readexactly(stream, constants.NODESIZE) def readpathlist(stream): rawlen = readexactly(stream, constants.PATHCOUNTSIZE) pathcount = struct.unpack(constants.PATHCOUNTSTRUCT, rawlen)[0] - for i in pycompat.xrange(pathcount): + for i in range(pathcount): yield readpath(stream)