Mercurial > public > mercurial-scm > hg-stable
diff mercurial/chgserver.py @ 44616: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 |
line wrap: on
line diff
--- 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 ]