Mercurial > hg-stable
changeset 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 | 194a6cd873cd |
children | d62b00318c19 |
files | hgext/chgserver.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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(?: