diff -r 0c432696dae3 -r 759202b64f49 mercurial/commands.py --- a/mercurial/commands.py Mon Dec 01 05:18:12 2014 -0800 +++ b/mercurial/commands.py Mon Dec 01 15:04:34 2014 -0600 @@ -3212,7 +3212,7 @@ hg files -0 | xargs -0 grep foo - See :hg:`help pattern` and :hg:`help filesets` for more information + See :hg:`help patterns` and :hg:`help filesets` for more information on specifying file patterns. Returns 0 if a match is found, 1 otherwise.