[PATCH 1 of 6 "] tests: use "perf" as a the extension name in test-contrib-perf.t

Gregory Szorc gregory.szorc at gmail.com
Mon Mar 25 11:45:04 EDT 2019


On Mon, Mar 25, 2019 at 7:25 AM Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1553516213 -3600
> #      Mon Mar 25 13:16:53 2019 +0100
> # Node ID 2af270b21d11836dbfc3b693c152616f5493cab3
> # Parent  e1ceefab9bcad1bb472e261d73a5e3fda74fdf18
> # EXP-Topic perf-run
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r
> 2af270b21d11
> tests: use "perf" as a the extension name in test-contrib-perf.t
>

Queued this series. Thanks for the feature!


>
> This is simpler and seems more "inline" with the name people usually use
> for
> this extensions.
>
> diff --git a/tests/test-contrib-perf.t b/tests/test-contrib-perf.t
> --- a/tests/test-contrib-perf.t
> +++ b/tests/test-contrib-perf.t
> @@ -32,14 +32,14 @@ perfstatus
>
>    $ cat >> $HGRCPATH << EOF
>    > [extensions]
> -  > perfstatusext=$CONTRIBDIR/perf.py
> +  > perf=$CONTRIBDIR/perf.py
>    > [perf]
>    > presleep=0
>    > stub=on
>    > parentscount=1
>    > EOF
> -  $ hg help perfstatusext
> -  perfstatusext extension - helper extension to measure performance
> +  $ hg help -e perf
> +  perf extension - helper extension to measure performance
>
>    list of commands:
>
> @@ -142,7 +142,7 @@ perfstatus
>     perfwalk      (no help text available)
>     perfwrite     microbenchmark ui.write
>
> -  (use 'hg help -v perfstatusext' to show built-in aliases and global
> options)
> +  (use 'hg help -v perf' to show built-in aliases and global options)
>    $ hg perfaddremove
>    $ hg perfancestors
>    $ hg perfancestorset 2
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190325/d66baf30/attachment.html>


More information about the Mercurial-devel mailing list