Mercurial > hg
comparison mercurial/dirstatemap.py @ 48221:a32a96079e2d
dirstate-v2: initial Python parser
The dirstate-v2 file format should be supported even if Rust extensions are
not enabled. This changeset adds parsing code that is not used yet.
Differential Revision: https://phab.mercurial-scm.org/D11518
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Sun, 03 Oct 2021 13:18:03 +0200 |
parents | e7b5e8ba7cab |
children | b4f83c9e7905 |
comparison
equal
deleted
inserted
replaced
48220:e7b5e8ba7cab | 48221:a32a96079e2d |
---|---|
18 util, | 18 util, |
19 ) | 19 ) |
20 | 20 |
21 from .dirstateutils import ( | 21 from .dirstateutils import ( |
22 docket as docketmod, | 22 docket as docketmod, |
23 v2, | |
23 ) | 24 ) |
24 | 25 |
25 parsers = policy.importmod('parsers') | 26 parsers = policy.importmod('parsers') |
26 rustmod = policy.importrust('dirstate') | 27 rustmod = policy.importrust('dirstate') |
27 | 28 |