chgserver: add fastannotate config section to sensitive list
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 23 Mar 2020 21:06:54 +0530
changeset 44612 bc592059d04f
parent 44610 022bf71515c9
child 44613 54d5424da623
chgserver: add fastannotate config section to sensitive list Depending on the config value of `fastannotate.modes`, the fastannotate extension can do different things in uisetup. Depending on value of `fastannotate.server`, it can register new wireprotocol capabilities. This fixes test-fastannotate-hg.t, test-fastannotate-protocol.t and test-fastannotate.t with chg.
mercurial/chgserver.py
--- a/mercurial/chgserver.py	Mon Feb 24 13:22:15 2020 -0500
+++ b/mercurial/chgserver.py	Mon Mar 23 21:06:54 2020 +0530
@@ -83,6 +83,7 @@
     b'eol',  # uses setconfig('eol', ...)
     b'extdiff',  # uisetup will register new commands
     b'extensions',
+    b'fastannotate',  # affects annotate command and adds fastannonate cmd
     b'schemes',  # extsetup will update global hg.schemes
 ]