D5843: doc: escape backslash

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 4 18:38:13 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGeb14ab7db33e: doc: escape backslash (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5843?vs=13770&id=13797

REVISION DETAIL
  https://phab.mercurial-scm.org/D5843

AFFECTED FILES
  doc/hgmanpage.py

CHANGE DETAILS

diff --git a/doc/hgmanpage.py b/doc/hgmanpage.py
--- a/doc/hgmanpage.py
+++ b/doc/hgmanpage.py
@@ -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):



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list