Mercurial > hg
diff tests/test-rebuildstate.t @ 47988:d459c6b84961
dirstate: inline the last two `_drop` usage
The function is small and having the associated code directly inline help use to cleanup the dirstate API.
Differential Revision: https://phab.mercurial-scm.org/D11428
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Sep 2021 10:20:25 +0200 |
parents | c53008253113 |
children | eb1f8d6e9419 |
line wrap: on
line diff
--- a/tests/test-rebuildstate.t Wed Sep 15 10:02:11 2021 +0200 +++ b/tests/test-rebuildstate.t Wed Sep 15 10:20:25 2021 +0200 @@ -19,7 +19,8 @@ > if opts.get('normal_lookup'): > repo.dirstate._normallookup(file) > else: - > repo.dirstate._drop(file) + > repo.dirstate._map.dropfile(file) + > repo.dirstate._dirty = True > > repo.dirstate.write(repo.currenttransaction()) > finally: