Skip to content
Snippets Groups Projects
Commit 5708f06346e1 authored by Georges Racinet's avatar Georges Racinet
Browse files

testhelpers: using new external package

These testhelpers have been externalized as the
`mercurial_testhelpers` package.

The latter being meant to be identical to a future
`mercurial.testhelpers` in Mercurial core, they don't
have facilities for topics nor evolve specific commands.

But the commit options extensibility can be used to
specify topics in `commit_file`. As for the `prune` helper
method, it can be implemented by direct subclassing.

This is what `hg-evolve` could later do, if that project
were to adopt those test helpers. Downstream extensions
of evolve and topic could then just use a base class
provided by evolve.

Also, the `RepoWrapper` from `mercurial_testhelpers` has
two different method names, that we remap directly to
make the whole test suite pass.
parent a658a5840c1d
No related branches found
No related tags found
1 merge request!37Externalized the most part of testhelpers
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment