perf: rename `perfhelper-tracecopies` to `perfhelper-pathcopies`
authorBoris Feld <boris.feld@octobus.net>
Mon, 26 Nov 2018 00:15:12 +0100
changeset 40740 30d878cb102d
parent 40739 dc3ab5e5fe64
child 40741 959130631de3
perf: rename `perfhelper-tracecopies` to `perfhelper-pathcopies` The command it supports is called `perfpathcopies`. It seems better to align the names.
contrib/perf.py
tests/test-contrib-perf.t
--- a/contrib/perf.py	Mon Nov 26 00:13:50 2018 +0100
+++ b/contrib/perf.py	Mon Nov 26 00:15:12 2018 +0100
@@ -1162,12 +1162,12 @@
     timer(format)
     fm.end()
 
-@command(b'perfhelper-tracecopies', formatteropts +
+@command(b'perfhelper-pathcopies', formatteropts +
          [
           (b'r', b'revs', [], b'restrict search to these revisions'),
           (b'', b'timing', False, b'provides extra data (costly)'),
          ])
-def perfhelpertracecopies(ui, repo, revs=[], **opts):
+def perfhelperpathcopies(ui, repo, revs=[], **opts):
     """find statistic about potential parameters for the `perftracecopies`
 
     This command find source-destination pair relevant for copytracing testing.
--- a/tests/test-contrib-perf.t	Mon Nov 26 00:13:50 2018 +0100
+++ b/tests/test-contrib-perf.t	Mon Nov 26 00:15:12 2018 +0100
@@ -83,7 +83,7 @@
    perffncachewrite
                  (no help text available)
    perfheads     (no help text available)
-   perfhelper-tracecopies
+   perfhelper-pathcopies
                  find statistic about potential parameters for the
                  'perftracecopies'
    perfindex     (no help text available)