perf: disable revlogs clearing in `perftags` by default
authorBoris Feld <boris.feld@octobus.net>
Tue, 20 Nov 2018 17:44:24 +0000
changeset 40781 380a1f73830f
parent 40780 82c189c511bd
child 40782 df8ed31a8ad8
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`.
contrib/perf.py
--- 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)