perf: rename `perfhelper-tracecopies` to `perfhelper-pathcopies`
The command it supports is called `perfpathcopies`. It seems better to align the
names.
--- 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)