largefile: use `update_file` instead of `normal`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11145
--- a/hgext/largefiles/overrides.py Mon Jul 19 00:05:47 2021 +0200
+++ b/hgext/largefiles/overrides.py Mon Jul 19 00:04:24 2021 +0200
@@ -1805,7 +1805,7 @@
# to avoid leaving all largefiles as dirty and thus rehash them, mark
# all the ones that didn't change as clean
for lfile in oldclean.difference(filelist):
- lfdirstate.normal(lfile)
+ lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True)
lfdirstate.write()
if branchmerge or force or partial: