mercurial/store.py
changeset 51700 7f0cb9ee0534
parent 51690 493034cc3265
child 51703 ca7bde5dbafb
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
    35 from .utils import hashutil
    35 from .utils import hashutil
    36 
    36 
    37 parsers = policy.importmod('parsers')
    37 parsers = policy.importmod('parsers')
    38 # how much bytes should be read from fncache in one read
    38 # how much bytes should be read from fncache in one read
    39 # It is done to prevent loading large fncache files into memory
    39 # It is done to prevent loading large fncache files into memory
    40 fncache_chunksize = 10**6
    40 fncache_chunksize = 10 ** 6
    41 
    41 
    42 
    42 
    43 def _match_tracked_entry(entry, matcher):
    43 def _match_tracked_entry(entry, matcher):
    44     """parses a fncache entry and returns whether the entry is tracking a path
    44     """parses a fncache entry and returns whether the entry is tracking a path
    45     matched by matcher or not.
    45     matched by matcher or not.