changeset 34485:37b7581e5737

eol: make [eol] config section sensitive for chg confighash The eol extension may mangle the [eol] config section and that means chg is unable to detect config file change (because it re-applies setconfig changes). This makes test-eol.t pass with chg. Differential Revision: https://phab.mercurial-scm.org/D917
author Jun Wu <quark@fb.com>
date Mon, 02 Oct 2017 19:25:11 -0700
parents a8a9c0d3232b
children a57c938e7ac8
files mercurial/chgserver.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/chgserver.py	Mon Oct 02 16:48:58 2017 -0700
+++ b/mercurial/chgserver.py	Mon Oct 02 19:25:11 2017 -0700
@@ -68,6 +68,7 @@
 # sensitive config sections affecting confighash
 _configsections = [
     'alias',  # affects global state commands.table
+    'eol',    # uses setconfig('eol', ...)
     'extdiff',  # uisetup will register new commands
     'extensions',
 ]