( )⚙ D11564 dirstatemap: introduce a common base for the dirstatemap class

This is an archive of the discontinued Mercurial Phabricator instance.

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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

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