comparison mercurial/store.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
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.