( )⚙ D11421 dirstate: introduce a `set_clean` method on dirstate's map and items

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: introduce a `set_clean` method on dirstate's map and items
ClosedPublic

Authored by marmoute on Sep 14 2021, 5:20 PM.

Details

Summary

This method is the "reverse" of "set possibly dirty", and can be used to more
accurately other call that the dirstate was making. It is currently heavily
influenced by its origin.

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.Sep 14 2021, 5:20 PM
Alphare accepted this revision.Sep 15 2021, 4:22 AM
This revision is now accepted and ready to land.Sep 15 2021, 4:22 AM
mercurial/pure/parsers.py