# HG changeset patch # User Pierre-Yves David # Date 1626655141 -7200 # Node ID 04d4c01e83fa4f9e8f44ddaafbb123bab9777b5f # Parent 95b864a670df6d0fa634d114b52d9f0c180412f5 largefile: use `update_file` instead of `normal` in `updatelfiles` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11155 diff -r 95b864a670df -r 04d4c01e83fa hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Mon Jul 19 02:38:40 2021 +0200 +++ b/hgext/largefiles/lfcommands.py Mon Jul 19 02:39:01 2021 +0200 @@ -588,7 +588,9 @@ continue # Synchronize largefile dirstate to the last modified # time of the file - lfdirstate.normal(lfile) + lfdirstate.update_file( + lfile, p1_tracked=True, wc_tracked=True + ) update1 = 1 # copy the exec mode of largefile standin from the repository's