HomePhabricator

dirstatemap: use a common implement for reset_state

Authored by marmoute.

Description

dirstatemap: use a common implement for reset_state

Same logic as for set_untracked this make sure both implementation are aligned.

The reset_state implementation for the Rust wrapped had signicantly diverged,
this change finally put it back in line.

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

Details