Mercurial > hg
comparison mercurial/store.py @ 51703:ca7bde5dbafb
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 7f0cb9ee0534 |
children | 2e9e62242451 |
comparison
equal
deleted
inserted
replaced
51702:b0a4de6c14f8 | 51703:ca7bde5dbafb |
---|---|
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. |