Mercurial > public > mercurial-scm > hg
comparison mercurial/chgserver.py @ 44612:bc592059d04f
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.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 23 Mar 2020 21:06:54 +0530 |
parents | a69c08cdb2a8 |
children | bdc8a5944d44 |
comparison
equal
deleted
inserted
replaced
44610:022bf71515c9 | 44612:bc592059d04f |
---|---|
81 _configsections = [ | 81 _configsections = [ |
82 b'alias', # affects global state commands.table | 82 b'alias', # affects global state commands.table |
83 b'eol', # uses setconfig('eol', ...) | 83 b'eol', # uses setconfig('eol', ...) |
84 b'extdiff', # uisetup will register new commands | 84 b'extdiff', # uisetup will register new commands |
85 b'extensions', | 85 b'extensions', |
86 b'fastannotate', # affects annotate command and adds fastannonate cmd | |
86 b'schemes', # extsetup will update global hg.schemes | 87 b'schemes', # extsetup will update global hg.schemes |
87 ] | 88 ] |
88 | 89 |
89 _configsectionitems = [ | 90 _configsectionitems = [ |
90 (b'commands', b'show.aliasprefix'), # show.py reads it in extsetup | 91 (b'commands', b'show.aliasprefix'), # show.py reads it in extsetup |