mercurial/dirstate.py
changeset 47531 f5b8f0b9c129
parent 47530 a1745a292885
child 47532 ccbabaee5c36
--- a/mercurial/dirstate.py	Sun Jul 04 01:59:41 2021 +0200
+++ b/mercurial/dirstate.py	Sun Jul 04 02:12:54 2021 +0200
@@ -1313,7 +1313,7 @@
             size = t[2]
             time = t[3]
 
-            if not st and state in b"nma":
+            if not st and t.tracked:
                 dadd(fn)
             elif state == b'n':
                 if (