mercurial/cmdutil.py
changeset 47707 61753b1ba96f
parent 47608 3c0efa0eeea6
child 47728 4d1ae9cba551
--- 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(