changeset 40142:25ce80ce84c5

perf: accept formatter option for perfmanifest
author Boris Feld <boris.feld@octobus.net>
date Mon, 01 Oct 2018 17:37:38 +0200
parents 8643219146e1
children d5d28d360a19
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/perf.py	Mon Oct 01 17:53:47 2018 +0200
+++ b/contrib/perf.py	Mon Oct 01 17:37:38 2018 +0200
@@ -890,7 +890,7 @@
 @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