This is an archive of the discontinued Mercurial Phabricator instance.

dirstatemap: introduce a common base for the dirstatemap class

Authored by marmoute on Oct 2 2021, 11:04 AM.



We have two dirstatemaps class. One for the python version of the dirstate map
and one for the Rust version (that has a python wrapper to deal with some
aspect of it). We end up with duplicated code between them, so we introduce a
common base class to start migrating common code in them.

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

marmoute created this revision.Oct 2 2021, 11:04 AM
Alphare accepted this revision.Oct 3 2021, 4:02 PM
Alphare added a subscriber: Alphare.
Alphare added inline comments.

Only a few months until we can get rid of those ugly object

This revision is now accepted and ready to land.Oct 3 2021, 4:02 PM