[PATCH] tests: silence test-repo obsolete warning

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed May 11 10:58:12 EDT 2016



On 05/11/2016 07:21 AM, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1462942167 0
> #      Wed May 11 04:49:27 2016 +0000
> # Node ID cfb766fa3a0d41c83a57172c6a167caf1930a727
> # Parent  401c5c11d34ffc7dc226bffe5612ba9bcdc686b7
> # EXP-Topic runtests
> # Available At bb://timeless/mercurial-crew
> #              hg pull bb://timeless/mercurial-crew -r cfb766fa3a0d
> tests: silence test-repo obsolete warning
>
> refactoring test-check-commit.t HGRCPATH bits as testrepo-helpers.sh
>
> […]
> diff -r 401c5c11d34f -r cfb766fa3a0d tests/testrepo-helpers.sh
> --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/testrepo-helpers.sh	Wed May 11 04:49:27 2016 +0000
> @@ -0,0 +1,4 @@
> +cat >> $HGRCPATH << EOF
> +[experimental]
> +evolution=createmarkers
> +EOF

I'm not fan of the file name but I do no have a much better idea. 
However, we need a some comment in this file that explain its purpose. 
testrepo-helpers.sh is very generic and it is not clear this should be 
used of for test using Mercurial on the source repository only. I would 
not want people to start including it in all test files, leading evolve 
to be enabled everywhere.

If you provide me with a comment in a reply to this email I'll probably 
include it in flight.

cheers,

-- 
Pierre-Yves


More information about the Mercurial-devel mailing list