# HG changeset patch # User Jun Wu # Date 1506997511 25200 # Node ID 37b7581e57370dedc130eb64c31294a3bc8ca53d # Parent a8a9c0d3232b342ae873c4214e8f24c580a509ad 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 diff -r a8a9c0d3232b -r 37b7581e5737 mercurial/chgserver.py --- 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', ]