From patchwork Thu Oct 11 08:01:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3,of,8] perf: accept formatter option for perfmanifest From: Boris Feld X-Patchwork-Id: 35626 Message-Id: <41fc0a8723b7d9876e13.1539244906@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 11 Oct 2018 10:01:46 +0200 # HG changeset patch # User Boris Feld # Date 1538408258 -7200 # Mon Oct 01 17:37:38 2018 +0200 # Node ID 41fc0a8723b7d9876e13866ecccc9ade1c246ec7 # Parent 902b76fa8a8540987dc34456fb1dd54a0144b28c # EXP-Topic revlog-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 41fc0a8723b7 perf: accept formatter option for perfmanifest diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -890,7 +890,7 @@ def perfphasesremote(ui, repo, dest=None @command(b'perfmanifest',[ (b'm', b'manifest-rev', False, b'Look up a manifest node revision'), (b'', b'clear-disk', False, b'clear on-disk caches too'), - ], b'REV|NODE') + ] + formatteropts, b'REV|NODE') def perfmanifest(ui, repo, rev, manifest_rev=False, clear_disk=False, **opts): """benchmark the time to read a manifest from disk and return a usable dict-like object