largefile: use `update_file` instead of `remove` in `synclfdirstate`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11142
--- a/hgext/largefiles/lfutil.py Mon Jul 19 03:25:21 2021 +0200
+++ b/hgext/largefiles/lfutil.py Mon Jul 19 03:20:28 2021 +0200
@@ -564,7 +564,7 @@
elif state == b'm':
lfdirstate.normallookup(lfile)
elif state == b'r':
- lfdirstate.remove(lfile)
+ lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=False)
elif state == b'a':
lfdirstate.add(lfile)