Submitter | Pierre-Yves David |
---|---|
Date | March 25, 2019, 1:19 p.m. |
Message ID | <2af270b21d11836dbfc3.1553519960@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/39380/ |
State | Accepted |
Headers | show |
Comments
On Mon, Mar 25, 2019 at 7:25 AM Pierre-Yves David < pierre-yves.david@ens-lyon.org> wrote: > # HG changeset patch > # User Pierre-Yves David <pierre-yves.david@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@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel >
Patch
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