comparison mercurial/ui.py @ 46365:839cacdff919 stable

tweak-default: no longer enable the experimental return code The change is quite new and undocumented (since it is experimental) so it seems premature to make it available in tweak default. In addition, I am not sure the new return code are frozen yet (eg: some of the initial feedback have not been incorporated). Before the release I doubled check (probably with Martin) that they were not enabled by default and got replied that they were only enabled in the tests. Have I been aware that they have been also enabled in tweak default I would I have lobbied to delay that. I discovered they were in tweak default from users feedback. They found it an unpleasant and unexpected surprise of 5.7. So I suggest we no enable enable this experimental feature for Mercurial 5.7 and revisit this later, when the feature will be more mature. Differential Revision: https://phab.mercurial-scm.org/D9975
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 10 Feb 2021 19:23:56 +0100
parents b9b37418ac7e
children 7621ab4005bf
comparison
equal deleted inserted replaced
46364:f0982c76ef1b 46365:839cacdff919
58 ) 58 )
59 59
60 # The config knobs that will be altered (if unset) by ui.tweakdefaults. 60 # The config knobs that will be altered (if unset) by ui.tweakdefaults.
61 tweakrc = b""" 61 tweakrc = b"""
62 [ui] 62 [ui]
63 # Gives detailed exit codes for input/user errors, config errors, etc.
64 detailed-exit-code = True
65 # The rollback command is dangerous. As a rule, don't use it. 63 # The rollback command is dangerous. As a rule, don't use it.
66 rollback = False 64 rollback = False
67 # Make `hg status` report copy information 65 # Make `hg status` report copy information
68 statuscopies = yes 66 statuscopies = yes
69 # Prefer curses UIs when available. Revert to plain-text with `text`. 67 # Prefer curses UIs when available. Revert to plain-text with `text`.