Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 40773:dc3ab5e5fe64
perf: add a docstring to `perfpathcopies`
This will help people to find this command.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 26 Nov 2018 00:13:50 +0100 |
parents | 36077a0f6f12 |
children | 30d878cb102d |
line wrap: on
line diff
--- a/contrib/perf.py Mon Nov 26 00:08:11 2018 +0100 +++ b/contrib/perf.py Mon Nov 26 00:13:50 2018 +0100 @@ -836,6 +836,7 @@ @command(b'perfpathcopies', [], b"REV REV") def perfpathcopies(ui, repo, rev1, rev2, **opts): + """benchmark the copy tracing logic""" opts = _byteskwargs(opts) timer, fm = gettimer(ui, opts) ctx1 = scmutil.revsingle(repo, rev1, rev1)