changeset 811:fa9aaf3bbdd7

Fix documentation of -I and -X options. These options apply to all names, not just to directories. In other words, you can do something like this: hg add -X 'f*' '*.c' and it will have the effect of "add all files matching *.c, except those starting with f".
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 29 Jul 2005 08:51:42 -0800
parents 790a0ff306f2
children b65af904d6d7
files doc/hg.1.txt
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/hg.1.txt	Fri Jul 29 08:49:01 2005 -0800
+++ b/doc/hg.1.txt	Fri Jul 29 08:51:42 2005 -0800
@@ -73,8 +73,8 @@
     place.
     
     options:
-    -I, --include <pat>  include directories matching the given patterns
-    -X, --exclude <pat>  exclude directories matching the given patterns
+    -I, --include <pat>   include names matching the given patterns
+    -X, --exclude <pat>   exclude names matching the given patterns
     -r, --revision <rev>  annotate the specified revision
     -u, --user            list the author
     -c, --changeset       list the changeset
@@ -136,8 +136,8 @@
     to its parent.
 
     options:
-    -I, --include <pat>  include directories matching the given patterns
-    -X, --exclude <pat>  exclude directories matching the given patterns
+    -I, --include <pat>  include names matching the given patterns
+    -X, --exclude <pat>  exclude names matching the given patterns
 
 export [-o filespec] [revision] ...::
     Print the changeset header and diffs for one or more revisions.
@@ -165,8 +165,8 @@
     Undo an 'hg add' scheduled for the next commit.
 
     options:
-    -I, --include <pat>  include directories matching the given patterns
-    -X, --exclude <pat>  exclude directories matching the given patterns
+    -I, --include <pat>  include names matching the given patterns
+    -X, --exclude <pat>  exclude names matching the given patterns
 
 heads::
     Show all repository head changesets.
@@ -217,9 +217,9 @@
 
     -0, --print0         end filenames with NUL, for use with xargs
     -f, --fullpath       print complete paths from the filesystem root
-    -I, --include <pat>  include directories matching the given patterns
+    -I, --include <pat>  include names matching the given patterns
     -r, --rev <rev>      search the repository as it stood at rev
-    -X, --exclude <pat>  exclude directories matching the given patterns
+    -X, --exclude <pat>  exclude names matching the given patterns
 
 log [-r revision ...] [-p] [file]::
     Print the revision history of the specified file or the entire project.
@@ -343,8 +343,8 @@
 
     options:
 
-    -I, --include <pat>  include directories matching the given patterns
-    -X, --exclude <pat>  exclude directories matching the given patterns
+    -I, --include <pat>  include names matching the given patterns
+    -X, --exclude <pat>  exclude names matching the given patterns
 
 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]::
     Name a particular revision using <name>.