diff mercurial/chgserver.py @ 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 bc592059d04f
children d37975386798
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
 ]