# HG changeset patch # User Pierre-Yves David # Date 1626655569 -7200 # Node ID 2d0717b135c9330fbc89949fb3886569111bd0b8 # Parent 108c4c5673a62b9991b08ca6da2cdfb262fd4aea largefile: use `update_file` instead of `normal` in `synclfdirstate` This is the newer, more semantic API. This was the last call to `normal` in largefile. Differential Revision: https://phab.mercurial-scm.org/D11158 diff -r 108c4c5673a6 -r 2d0717b135c9 hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py Mon Jul 19 02:40:51 2021 +0200 +++ b/hgext/largefiles/lfutil.py Mon Jul 19 02:46:09 2021 +0200 @@ -562,7 +562,7 @@ # state 'n' doesn't ensure 'clean' in this case lfdirstate.normallookup(lfile) else: - lfdirstate.normal(lfile) + lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True) elif state == b'm': lfdirstate.normallookup(lfile) elif state == b'r':