# HG changeset patch
# User Pulkit Goyal <7895pul...@gmail.com>
# Date 1584977814 -19800
#      Mon Mar 23 21:06:54 2020 +0530
# Node ID 84234f1631ab94a978d8b020677b5bba3e39a9f6
# Parent  b0928d1a5c499e34c034edbe56b20679146cd03c
# EXP-Topic chg-test
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.

diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
--- a/mercurial/chgserver.py
+++ b/mercurial/chgserver.py
@@ -83,6 +83,7 @@ def _hashlist(items):
     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
 ]
 

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to