# HG changeset patch # User Boris Feld # Date 1543187712 -3600 # Node ID 30d878cb102d1be3db236cf61b7e62e544d7b6d6 # Parent dc3ab5e5fe64daf238d3a30c2f05ae5f02410495 perf: rename `perfhelper-tracecopies` to `perfhelper-pathcopies` The command it supports is called `perfpathcopies`. It seems better to align the names. diff -r dc3ab5e5fe64 -r 30d878cb102d contrib/perf.py --- 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. diff -r dc3ab5e5fe64 -r 30d878cb102d tests/test-contrib-perf.t --- 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)