Mercurial > hg
changeset 20290:50db996bccaf
doc: add description about pattern matching against directories
Before this patch, there is no explicit description about pattern
matching against directories, even though users may understand it from
"plain examples" in "hg help patterns".
This patch adds description about pattern matching against
directories.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 17 Jan 2014 23:55:11 +0900 |
parents | 96be25f1da45 |
children | 7d589d923b8a |
files | mercurial/help/patterns.txt |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help/patterns.txt Fri Jan 17 23:55:11 2014 +0900 +++ b/mercurial/help/patterns.txt Fri Jan 17 23:55:11 2014 +0900 @@ -29,6 +29,11 @@ feeds. Each string read from the file is itself treated as a file pattern. +All patterns, except for ``glob:`` specified in command line (not for +``-I`` or ``-X`` options) or ``.hgignore`` file, can match also +against directories: files under matched directories are treated as +matched. + Plain examples:: path:foo/bar a name bar in a directory named foo in the root