# HG changeset patch # User Pierre-Yves David # Date 1631798428 -7200 # Node ID af84aa1a66f191e86b4d440c9b790fe3cdde2a5b # Parent 1370d695c258d9151ec5887d007479141d64b188 dirstate: use `reset_state` instead of `dropfile` in largefile As `dirstatemap.dropfile` is on its way out. Differential Revision: https://phab.mercurial-scm.org/D11441 diff -r 1370d695c258 -r af84aa1a66f1 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Wed Sep 15 18:40:25 2021 +0200 +++ b/hgext/largefiles/lfcommands.py Thu Sep 16 15:20:28 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._map.dropfile(f) + lfdirstate._map.reset_state(f) statuswriter(_(b'getting changed largefiles\n')) cachelfiles(ui, repo, None, lfiles)