Mercurial > public > mercurial-scm > hg
diff hgext/chgserver.py @ 28478:e6e183687545
chgserver: include [extdiff] in confighash
extdiff's uisetup will register new commands. If we do not include it in
confighash, changes to [extdiff] will not get new commands registered.
This patch adds extdiff to confighash and makes it possible for chg to pass
test-extdiff.t.
author | Jun Wu <quark@fb.com> |
---|---|
date | Fri, 11 Mar 2016 13:00:20 +0000 |
parents | 8062869860b8 |
children | 945e9516b435 |
line wrap: on
line diff
--- a/hgext/chgserver.py Fri Mar 11 02:52:06 2016 +0000 +++ b/hgext/chgserver.py Fri Mar 11 13:00:20 2016 +0000 @@ -77,7 +77,10 @@ return util.sha1(str(items)).hexdigest() # sensitive config sections affecting confighash -_configsections = ['extensions'] +_configsections = [ + 'extdiff', # uisetup will register new commands + 'extensions', +] # sensitive environment variables affecting confighash _envre = re.compile(r'''\A(?: