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
--- 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())