comparison mercurial/help/patterns.txt @ 16510:c7c9473fcc46 stable

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.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 25 Apr 2012 23:28:54 +0200
parents e3c7ca15cde2
children 170fc0949fb6
comparison
equal deleted inserted replaced
16509:eab9119c5dee 16510:c7c9473fcc46
5 patterns. 5 patterns.
6 6
7 Alternate pattern notations must be specified explicitly. 7 Alternate pattern notations must be specified explicitly.
8 8
9 .. note:: 9 .. note::
10 Patterns specified in ``.hgignore`` are not rooted. Please see 10 Patterns specified in ``.hgignore`` are not rooted.
11 :hg:`help hgignore` for details. 11 Please see :hg:`help hgignore` for details.
12 12
13 To use a plain path name without any pattern matching, start it with 13 To use a plain path name without any pattern matching, start it with
14 ``path:``. These path names must completely match starting at the 14 ``path:``. These path names must completely match starting at the
15 current repository root. 15 current repository root.
16 16