comparison mercurial/ui.py @ 38762:fe3ca1e6f786 stable

ui: remove commands.status.terse=u from ui.tweakdefaults commands.status.terse=u can add significant overhead when operating on large repositories. Using the Firefox repository: HGRCPATH= hg --time status time: real 1.340 secs (user 0.960+0.000 sys 0.380+0.000) HGRCPATH= hg --time --config commands.status.terse=u status time: real 2.420 secs (user 2.070+0.000 sys 0.360+0.000) HGRCPATH= hg --time --config extensions.fsmonitor= status time: real 0.080 secs (user 0.050+0.010 sys 0.040+0.000) HGRCPATH= ~/src/hg/hg --time --config extensions.fsmonitor= --config commands.status.terse=u status time: real 2.470 secs (user 2.080+0.000 sys 0.390+0.000) The performance regression - especially when fsmonitor is being used - is too much to stomach for the 4.7 release. We've decided to remove commands.status.terse=u from ui.tweakdefaults until we can improve its performance, hopefully in the 4.8 cycle. This commit effectively backs out 6acf41bb8d40.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 31 Jul 2018 13:46:57 -0700
parents d79f3afb079e
children eb2945f0a4a1 23a00bc90a3c
comparison
equal deleted inserted replaced
38761:d558e53cd6b6 38762:fe3ca1e6f786
65 status.relative = yes 65 status.relative = yes
66 # Refuse to perform an `hg update` that would cause a file content merge 66 # Refuse to perform an `hg update` that would cause a file content merge
67 update.check = noconflict 67 update.check = noconflict
68 # Show conflicts information in `hg status` 68 # Show conflicts information in `hg status`
69 status.verbose = True 69 status.verbose = True
70 # Collapse entire directories that contain only unknown files
71 status.terse = u
72 70
73 [diff] 71 [diff]
74 git = 1 72 git = 1
75 showfunc = 1 73 showfunc = 1
76 word-diff = 1 74 word-diff = 1