This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstate: introduce intermediate struct for dirstate-v2 data

Authored by Alphare on Apr 12 2022, 12:02 PM.



This is passed often as a long tuple that is not easy to know the form of, so
we refactor everything in this struct.

This also renames wdir_tracked to follow the Python wc_tracked, even though
the on-disk format uses WDIR_TRACKED.
I think a single naming scheme is better, but we can't easily break the Python
impl now because of extensions, so this is low-effort enough and facilitates

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Apr 12 2022, 12:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.