diff -r dd267f16042f -r d459c6b84961 hgext/largefiles/lfcommands.py --- 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)