diff contrib/perf.py @ 40740: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 415735bfcf2b
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.