help: properly document the default pattern
authorJordi Gutiérrez Hermoso <jordigh@octave.org>
Fri, 15 Feb 2019 17:20:32 -0500
changeset 48558 823e906d879d
parent 48557 791f5d5f7a96
child 48559 6bd42f9bc97e
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.
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.