# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1550269232 18000 # Node ID 823e906d879da278f3adb51e735c5e03d504efcd # Parent 791f5d5f7a96430ac7deb64b7b61769b19de60ff help: properly document the default pattern The default isn't to glob. It's relpath, which does no globbing at all. Thus most commands and options like -X/-I and hg files require `glob:` in front of them to actually do any globbing. I think long ago the default was to glob, but that hasn't been true for a long time. diff -r 791f5d5f7a96 -r 823e906d879d mercurial/helptext/patterns.txt --- a/mercurial/helptext/patterns.txt Fri Dec 10 16:25:02 2021 +0100 +++ b/mercurial/helptext/patterns.txt Fri Feb 15 17:20:32 2019 -0500 @@ -1,8 +1,10 @@ Mercurial accepts several notations for identifying one or more files at a time. -By default, Mercurial treats filenames as shell-style extended glob -patterns. +By default, Mercurial treats filenames verbatim without pattern +matching, relative to the current working directory. Note that your +system shell might perform pattern matching of its own before passing +filenames into Mercurial. Alternate pattern notations must be specified explicitly.