# HG changeset patch # User Mads Kiilerich # Date 2012-04-25 21:28:54 # Node ID c7c9473fcc4626581ebbeed10bdccd635073dd0a # Parent eab9119c5deeec6373ff5d48a88b48f92ac8e836 docs: don't use :hg: at the beginning of lines in notes (issue3397) It seem like docutils 0.8 interpret ':hg:`command`' roles at the beginning of indented lines in '.. note::' directives as a field that is an invalid argument to the directive. It fails with 'Error in "note" directive: invalid option block.' Docutils 0.7 accepted this arguably incorrect markup. Reflowing the text makes the problem go away. A leading '\ ' could perhaps also be used to mask the problem. diff --git a/mercurial/help/patterns.txt b/mercurial/help/patterns.txt --- a/mercurial/help/patterns.txt +++ b/mercurial/help/patterns.txt @@ -7,8 +7,8 @@ patterns. Alternate pattern notations must be specified explicitly. .. note:: - Patterns specified in ``.hgignore`` are not rooted. Please see - :hg:`help hgignore` for details. + Patterns specified in ``.hgignore`` are not rooted. + Please see :hg:`help hgignore` for details. To use a plain path name without any pattern matching, start it with ``path:``. These path names must completely match starting at the