diff --git a/mercurial/help/hgignore.txt b/mercurial/help/hgignore.txt index c27a769d9703b32a6380a291ea8a933877a10f31_bWVyY3VyaWFsL2hlbHAvaGdpZ25vcmUudHh0..e3c7ca15cde24f7e1ef5018fcfd902f4d6c95adc_bWVyY3VyaWFsL2hlbHAvaGdpZ25vcmUudHh0 100644 --- a/mercurial/help/hgignore.txt +++ b/mercurial/help/hgignore.txt @@ -63,6 +63,10 @@ and a regexp pattern of the form ``\.c$`` will do the same. To root a regexp pattern, start it with ``^``. +.. note:: + Patterns specified in other than ``.hgignore`` are always rooted. + Please see :hg:`help patterns` for details. + Example ------- diff --git a/mercurial/help/patterns.txt b/mercurial/help/patterns.txt index c27a769d9703b32a6380a291ea8a933877a10f31_bWVyY3VyaWFsL2hlbHAvcGF0dGVybnMudHh0..e3c7ca15cde24f7e1ef5018fcfd902f4d6c95adc_bWVyY3VyaWFsL2hlbHAvcGF0dGVybnMudHh0 100644 --- a/mercurial/help/patterns.txt +++ b/mercurial/help/patterns.txt @@ -6,6 +6,10 @@ Alternate pattern notations must be specified explicitly. +.. note:: + 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 current repository root.