mercurial/sparse.py
changeset 47709 a0e79084389d
parent 47708 7bdfd88251c0
child 47710 3148204e649e
--- a/mercurial/sparse.py	Mon Jul 19 04:26:06 2021 +0200
+++ b/mercurial/sparse.py	Mon Jul 19 01:58:24 2021 +0200
@@ -453,7 +453,7 @@
             for file, flags, msg in tmresult.getactions(
                 [mergestatemod.ACTION_GET]
             ):
-                dirstate.normal(file)
+                dirstate.update_file(file, p1_tracked=True, wc_tracked=True)
 
     profiles = activeconfig(repo)[2]
     changedprofiles = profiles & files