D11031: dirstate: add the right internal API in a test script
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Jul 9 11:03:25 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The goal of the script it to perform arbitrary internal operation so lets make
it clean.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11031
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
@@ -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:
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list