--- a/mercurial/help.py Thu Feb 23 21:27:25 2017 +0900
+++ b/mercurial/help.py Tue Nov 01 14:50:45 2016 +0000
@@ -33,14 +33,17 @@
webcommands,
)
-_exclkeywords = [
+_exclkeywords = set([
+ "(ADVANCED)",
"(DEPRECATED)",
"(EXPERIMENTAL)",
+ # i18n: "(ADVANCED)" is a keyword, must be translated consistently
+ _("(ADVANCED)"),
# i18n: "(DEPRECATED)" is a keyword, must be translated consistently
_("(DEPRECATED)"),
# i18n: "(EXPERIMENTAL)" is a keyword, must be translated consistently
_("(EXPERIMENTAL)"),
- ]
+ ])
def listexts(header, exts, indent=1, showdeprecated=False):
'''return a text listing of the given extensions'''