Sorry, but I don't fix the patch is the correct fix for this bug. Having dug a little I find the man pages are created at build time, thus it is the program used to build them that should be fixed rather than the output of the program being patched up.
The program is tools/doc_generate/autodoc_man.py. A bug was introduced in revno 1551.3.11.
revno: 1551.3.11
committer: Aaron Bentley <email address hidden>
branch nick: bzr.ab
timestamp: Tue 2006-02-07 16:40:33 -0500
message:
Merge from Robert
The changes include
man_preamble = """\
-.\\\" Man page for %(bzrcmd)s (bazaar-ng)
+Man page for %(bzrcmd)s (bazaar-ng)
.\\\"
.\\\" Large parts of this file are autogenerated from the output of
.\\\" \"%(bzrcmd)s help commands\"
which altered the first line of the produced man page so it isn't a troff comment. All that needs to happen is same six characters that start the "Large parts" line should be prefixed once again to the "Man page" line.
Sorry, but I don't fix the patch is the correct fix for this bug. Having dug a little I find the man pages are created at build time, thus it is the program used to build them that should be fixed rather than the output of the program being patched up.
The program is tools/doc_ generate/ autodoc_ man.py. A bug was introduced in revno 1551.3.11.
revno: 1551.3.11
committer: Aaron Bentley <email address hidden>
branch nick: bzr.ab
timestamp: Tue 2006-02-07 16:40:33 -0500
message:
Merge from Robert
The changes include
man_preamble = """\
-.\\\" Man page for %(bzrcmd)s (bazaar-ng)
+Man page for %(bzrcmd)s (bazaar-ng)
.\\\"
.\\\" Large parts of this file are autogenerated from the output of
.\\\" \"%(bzrcmd)s help commands\"
which altered the first line of the produced man page so it isn't a troff comment. All that needs to happen is same six characters that start the "Large parts" line should be prefixed once again to the "Man page" line.