hgext/largefiles/lfcommands.py
changeset 47988 d459c6b84961
parent 47722 47dce5a99eab
child 48001 af84aa1a66f1
--- a/hgext/largefiles/lfcommands.py	Wed Sep 15 10:02:11 2021 +0200
+++ b/hgext/largefiles/lfcommands.py	Wed Sep 15 10:20:25 2021 +0200
@@ -577,7 +577,7 @@
                 repo.wvfs.unlinkpath(lfutil.standin(f))
                 # This needs to happen for dropped files, otherwise they stay in
                 # the M state.
-                lfdirstate._drop(f)
+                lfdirstate._map.dropfile(f)
 
             statuswriter(_(b'getting changed largefiles\n'))
             cachelfiles(ui, repo, None, lfiles)