largefile: use `set_clean` instead of `normal` in `repo.status`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 02:40:51 +0200
changeset 47715 108c4c5673a6
parent 47714 9a7d723a427a
child 47716 2d0717b135c9
largefile: use `set_clean` instead of `normal` in `repo.status` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11157
hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py	Mon Jul 19 02:39:35 2021 +0200
+++ b/hgext/largefiles/reposetup.py	Mon Jul 19 02:40:51 2021 +0200
@@ -222,7 +222,7 @@
                             else:
                                 if listclean:
                                     clean.append(lfile)
-                                lfdirstate.normal(lfile)
+                                lfdirstate.set_clean(lfile)
                     else:
                         tocheck = unsure + modified + added + clean
                         modified, added, clean = [], [], []