# HG changeset patch # User Pierre-Yves David # Date 2021-07-08 19:20:37 # 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 --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t --- a/tests/test-rebuildstate.t +++ b/tests/test-rebuildstate.t @@ -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: