doc: escape backslash
This avoids a SyntaxWarning on Python 3.8 due to invalid \ escape.
Differential Revision: https://phab.mercurial-scm.org/D5843
--- a/doc/hgmanpage.py Mon Feb 04 14:16:52 2019 -0800
+++ b/doc/hgmanpage.py Mon Feb 04 14:22:50 2019 -0800
@@ -376,7 +376,7 @@
tmpl = (".TH %(title_upper)s %(manual_section)s"
" \"%(date)s\" \"%(version)s\" \"%(manual_group)s\"\n"
".SH NAME\n"
- "%(title)s \- %(subtitle)s\n")
+ "%(title)s \\- %(subtitle)s\n")
return tmpl % self._docinfo
def append_header(self):