Page MenuHomePhabricator

dirstatemap: introduce a common base for the dirstatemap class
ClosedPublic

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

Details

Summary

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

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.
mercurial/dirstatemap.py
38–45

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