# HG changeset patch # User Pierre-Yves David # Date 1626655175 -7200 # Node ID 9a7d723a427a02fa95ed2d9ccb49523188f96557 # Parent 04d4c01e83fa4f9e8f44ddaafbb123bab9777b5f largefile: use `set_clean` instead of `normal` in `lfdirstatestatus` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11156 diff -r 04d4c01e83fa -r 9a7d723a427a 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