changeset 47715:108c4c5673a6

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Jul 2021 02:40:51 +0200
parents 9a7d723a427a
children 2d0717b135c9
files hgext/largefiles/reposetup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = [], [], []