Mercurial > hg
changeset 44616:bdc8a5944d44
chgserver: add merge-tools to sensitive config items
Because this can change whether the ui is gui or not.
This fixes test-extdiff.t with chg.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 23 Mar 2020 23:43:29 +0530 |
parents | 78a8f65eacc8 |
children | 1e459ac4cb48 |
files | mercurial/chgserver.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/chgserver.py Wed Mar 25 13:20:08 2020 +0530 +++ b/mercurial/chgserver.py Mon Mar 23 23:43:29 2020 +0530 @@ -80,10 +80,12 @@ # sensitive config sections affecting confighash _configsections = [ b'alias', # affects global state commands.table + b'diff-tools', # affects whether gui or not in extdiff's uisetup b'eol', # uses setconfig('eol', ...) b'extdiff', # uisetup will register new commands b'extensions', b'fastannotate', # affects annotate command and adds fastannonate cmd + b'merge-tools', # affects whether gui or not in extdiff's uisetup b'schemes', # extsetup will update global hg.schemes ]