largefile: use `set_clean` instead of `normal` in `lfdirstatestatus`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 02:39:35 +0200
changeset 47714 9a7d723a427a
parent 47713 04d4c01e83fa
child 47715 108c4c5673a6
largefile: use `set_clean` instead of `normal` in `lfdirstatestatus` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11156
hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py	Mon Jul 19 02:39:01 2021 +0200
+++ b/hgext/largefiles/lfutil.py	Mon Jul 19 02:39:35 2021 +0200
@@ -251,7 +251,7 @@
             modified.append(lfile)
         else:
             clean.append(lfile)
-            lfdirstate.normal(lfile)
+            lfdirstate.set_clean(lfile)
     return s