HomePhabricator

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

Authored by marmoute.

Description

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

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.

Differential Revision: https://phab.mercurial-scm.org/D11421