mercurial/utils/storageutil.py
changeset 49284 d44e3c45f0e4
parent 48875 6000f5b25c9b
child 49610 9cac281eb9c0
child 49785 fa955e3f6aee
equal deleted inserted replaced
49283:44b26349127b 49284:d44e3c45f0e4
    17 )
    17 )
    18 from .. import (
    18 from .. import (
    19     dagop,
    19     dagop,
    20     error,
    20     error,
    21     mdiff,
    21     mdiff,
    22     pycompat,
       
    23 )
    22 )
    24 from ..interfaces import repository
    23 from ..interfaces import repository
    25 from ..revlogutils import sidedata as sidedatamod
    24 from ..revlogutils import sidedata as sidedatamod
    26 from ..utils import hashutil
    25 from ..utils import hashutil
    27 
    26 
   179         if stop > storelen:
   178         if stop > storelen:
   180             stop = storelen
   179             stop = storelen
   181     else:
   180     else:
   182         stop = storelen
   181         stop = storelen
   183 
   182 
   184     return pycompat.xrange(start, stop, step)
   183     return range(start, stop, step)
   185 
   184 
   186 
   185 
   187 def fileidlookup(store, fileid, identifier):
   186 def fileidlookup(store, fileid, identifier):
   188     """Resolve the file node for a value.
   187     """Resolve the file node for a value.
   189 
   188