revert: use `set_clean` instead of `normal`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11149
--- a/mercurial/cmdutil.py Mon Jul 19 03:15:57 2021 +0200
+++ b/mercurial/cmdutil.py Mon Jul 19 03:52:20 2021 +0200
@@ -3598,7 +3598,7 @@
if p2 != repo.nullid:
normal = repo.dirstate.normallookup
else:
- normal = repo.dirstate.normal
+ normal = repo.dirstate.set_clean
newlyaddedandmodifiedfiles = set()
if interactive:
@@ -3691,7 +3691,7 @@
normal = repo.dirstate.normallookup
if node == parent and p2 == repo.nullid:
- normal = repo.dirstate.normal
+ normal = repo.dirstate.set_clean
for f in actions[b'undelete'][0]:
if interactive:
choice = repo.ui.promptchoice(