Patchwork [3,of,8] perf: accept formatter option for perfmanifest

login
register
mail settings
Submitter Boris Feld
Date Oct. 11, 2018, 8:01 a.m.
Message ID <41fc0a8723b7d9876e13.1539244906@localhost.localdomain>
Download mbox | patch
Permalink /patch/35626/
State Accepted
Headers show

Comments

Boris Feld - Oct. 11, 2018, 8:01 a.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# 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

Patch

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