configitems: use raw strings for hidden-{command,topic} items
These strings are regular expressions. The "\." needs to be
string escaped. We use raw strings to avoid doing that and the
SyntaxWarning we'd receive otherwise on Python 3.8.
Differential Revision: https://phab.mercurial-scm.org/D5822
--- a/mercurial/configitems.py Mon Feb 04 09:03:10 2019 -0800
+++ b/mercurial/configitems.py Mon Feb 04 09:13:05 2019 -0800
@@ -720,11 +720,11 @@
coreconfigitem('fsmonitor', 'warn_update_file_count',
default=50000,
)
-coreconfigitem('help', 'hidden-command\..*',
+coreconfigitem('help', br'hidden-command\..*',
default=False,
generic=True,
)
-coreconfigitem('help', 'hidden-topic\..*',
+coreconfigitem('help', br'hidden-topic\..*',
default=False,
generic=True,
)