largefile: use `set_untracked` in the override of copy/rename
This is the new shiny API
Differential Revision: https://phab.mercurial-scm.org/D11111
--- a/hgext/largefiles/overrides.py Thu Jul 08 03:50:08 2021 +0200
+++ b/hgext/largefiles/overrides.py Thu Jul 08 03:54:54 2021 +0200
@@ -857,7 +857,7 @@
# The file is gone, but this deletes any empty parent
# directories as a side-effect.
repo.wvfs.unlinkpath(srclfile, ignoremissing=True)
- lfdirstate.remove(srclfile)
+ lfdirstate.set_untracked(srclfile)
else:
util.copyfile(repo.wjoin(srclfile), repo.wjoin(destlfile))