# HG changeset patch # User Pierre-Yves David # Date 1625772037 -7200 # Node ID ff82edadc2e1489bf135fa7cec74fc579d4577d8 # Parent 26bf0b9fe78f9411cf088ed7b213fd58aec5954a dirstate: use the right internal API in a test script The goal of the script it to perform arbitrary internal operation to create incorrect state, so lets make it clear. Differential Revision: https://phab.mercurial-scm.org/D11031 diff -r 26bf0b9fe78f -r ff82edadc2e1 tests/test-rebuildstate.t --- a/tests/test-rebuildstate.t Thu Jul 08 19:06:32 2021 +0200 +++ b/tests/test-rebuildstate.t Thu Jul 08 21:20:37 2021 +0200 @@ -19,7 +19,7 @@ > if opts.get('normal_lookup'): > repo.dirstate.normallookup(file) > else: - > repo.dirstate.drop(file) + > repo.dirstate._drop(file) > > repo.dirstate.write(repo.currenttransaction()) > finally: