comparison mercurial/chgserver.py @ 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 3cfc9070245f
children 110040e715c9
comparison
equal deleted inserted replaced
34484:a8a9c0d3232b 34485:37b7581e5737
66 return hashlib.sha1(str(items)).hexdigest() 66 return hashlib.sha1(str(items)).hexdigest()
67 67
68 # sensitive config sections affecting confighash 68 # sensitive config sections affecting confighash
69 _configsections = [ 69 _configsections = [
70 'alias', # affects global state commands.table 70 'alias', # affects global state commands.table
71 'eol', # uses setconfig('eol', ...)
71 'extdiff', # uisetup will register new commands 72 'extdiff', # uisetup will register new commands
72 'extensions', 73 'extensions',
73 ] 74 ]
74 75
75 # sensitive environment variables affecting confighash 76 # sensitive environment variables affecting confighash