Mercurial > hg
diff tests/test-rebuildstate.t @ 48002:44fc75bd1580
dirstate: use `reset_state` instead of `dropfile` in test-rebuildstate.t
As `dirstatemap.dropfile` is on its way out.
Differential Revision: https://phab.mercurial-scm.org/D11442
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 16 Sep 2021 15:21:22 +0200 |
parents | eb1f8d6e9419 |
children | eea70e3539ed |
line wrap: on
line diff
--- a/tests/test-rebuildstate.t Thu Sep 16 15:20:28 2021 +0200 +++ b/tests/test-rebuildstate.t Thu Sep 16 15:21:22 2021 +0200 @@ -25,7 +25,7 @@ > possibly_dirty=True, > ) > else: - > repo.dirstate._map.dropfile(file) + > repo.dirstate._map.reset_state(file) > repo.dirstate._dirty = True > > repo.dirstate.write(repo.currenttransaction())