dirstate: use the right internal API in a test script
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 08 Jul 2021 21:20:37 +0200
changeset 47607 ff82edadc2e1
parent 47606 26bf0b9fe78f
child 47608 3c0efa0eeea6
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
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: