Mercurial > hg
changeset 47716:2d0717b135c9
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jul 2021 02:46:09 +0200 |
parents | 108c4c5673a6 |
children | d905eff405d1 |
files | hgext/largefiles/lfutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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':