D11442: dirstate: use `reset_state` instead of `dropfile` in test-rebuildstate.t
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Sep 16 14:46:22 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
As `dirstatemap.dropfile` is on its way out.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11442
AFFECTED FILES
tests/test-rebuildstate.t
CHANGE DETAILS
diff --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t
--- a/tests/test-rebuildstate.t
+++ b/tests/test-rebuildstate.t
@@ -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())
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list