# HG changeset patch # User Pierre-Yves David # Date 2021-07-19 00:39:35 # 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 --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -251,7 +251,7 @@ def lfdirstatestatus(lfdirstate, repo): modified.append(lfile) else: clean.append(lfile) - lfdirstate.normal(lfile) + lfdirstate.set_clean(lfile) return s