Mercurial > hg-stable
changeset 40774:30d878cb102d
perf: rename `perfhelper-tracecopies` to `perfhelper-pathcopies`
The command it supports is called `perfpathcopies`. It seems better to align the
names.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 26 Nov 2018 00:15:12 +0100 |
parents | dc3ab5e5fe64 |
children | 959130631de3 |
files | contrib/perf.py tests/test-contrib-perf.t |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)