changeset 47607:ff82edadc2e1

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Jul 2021 21:20:37 +0200
parents 26bf0b9fe78f
children 3c0efa0eeea6
files tests/test-rebuildstate.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: