# HG changeset patch # User Pierre-Yves David # Date 2021-07-19 00:39:01 # 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 --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py +++ b/hgext/largefiles/lfcommands.py @@ -588,7 +588,9 @@ def updatelfiles( 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