changeset 40781:380a1f73830f

perf: disable revlogs clearing in `perftags` by default This aligns things with what `perfbookmarks` does. I decided to disable the revlogs clearing by default to focus on the core logic by default, ignoring side effects. If we prefer to emphasize the side effect, we can instead keep this on in `perftags` and enable it by default in `perfbookmarks`.
author Boris Feld <boris.feld@octobus.net>
date Tue, 20 Nov 2018 17:44:24 +0000
parents 82c189c511bd
children df8ed31a8ad8
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/perf.py	Tue Nov 20 10:55:20 2018 +0000
+++ b/contrib/perf.py	Tue Nov 20 17:44:24 2018 +0000
@@ -540,7 +540,7 @@
 
 @command(b'perftags', formatteropts+
         [
-            (b'', b'clear-revlogs', True, b'refresh changelog and manifest'),
+            (b'', b'clear-revlogs', False, b'refresh changelog and manifest'),
         ])
 def perftags(ui, repo, **opts):
     opts = _byteskwargs(opts)