changeset 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 af84aa1a66f1
children 5e7eea915019
files tests/test-rebuildstate.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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())