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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Mar 25 13:19:20 UTC 2019


# 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

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


More information about the Mercurial-devel mailing list