Mercurial > hg
changeset 47713:04d4c01e83fa
largefile: use `update_file` instead of `normal` in `updatelfiles`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11155
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jul 2021 02:39:01 +0200 |
parents | 95b864a670df |
children | 9a7d723a427a |
files | hgext/largefiles/lfcommands.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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