changeset 47653:00d70f61d856

largefile: directly use set_untracked() for removing files This is new shiny API. Differential Revision: https://phab.mercurial-scm.org/D11109
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Jul 2021 03:33:56 +0200
parents 12300ee6840b
children 2af9709ea13c
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Thu Jul 08 01:47:41 2021 +0200
+++ b/hgext/largefiles/overrides.py	Thu Jul 08 03:33:56 2021 +0200
@@ -227,9 +227,7 @@
         repo[None].forget(remove)
 
         for f in remove:
-            lfutil.synclfdirstate(
-                repo, lfdirstate, lfutil.splitstandin(f), False
-            )
+            lfdirstate.set_untracked(lfutil.splitstandin(f))
 
         lfdirstate.write()