HomePhabricator

dirstate: enforce `possibly_dirty` in `set_tracked`

Authored by marmoute.

Description

dirstate: enforce possibly_dirty in set_tracked

There is some usecase (like hg revert) that requires more agressive
possibly_dirty setting. So we take a safe path and enforce it in one of the
main normallookup replacement.

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

Details

Committed
marmouteJul 19 2021, 8:02 AM
Differential Revision
D11173: dirstate: enforce `possibly_dirty` in `set_tracked`
Parents
rHGcc438f793b98: record: use `update_file` instead of `normallookup`
Branches
Unknown
Tags
Unknown