comparison doc/hg.1.txt @ 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 80fd2958235a
comparison
equal deleted inserted replaced
810:790a0ff306f2 811:fa9aaf3bbdd7
71 71
72 This command is useful to discover who did a change or when a change took 72 This command is useful to discover who did a change or when a change took
73 place. 73 place.
74 74
75 options: 75 options:
76 -I, --include <pat> include directories matching the given patterns 76 -I, --include <pat> include names matching the given patterns
77 -X, --exclude <pat> exclude directories matching the given patterns 77 -X, --exclude <pat> exclude names matching the given patterns
78 -r, --revision <rev> annotate the specified revision 78 -r, --revision <rev> annotate the specified revision
79 -u, --user list the author 79 -u, --user list the author
80 -c, --changeset list the changeset 80 -c, --changeset list the changeset
81 -n, --number list the revision number (default) 81 -n, --number list the revision number (default)
82 82
134 that revision is compared to the working directory, and, when no 134 that revision is compared to the working directory, and, when no
135 revisions are specified, the working directory files are compared 135 revisions are specified, the working directory files are compared
136 to its parent. 136 to its parent.
137 137
138 options: 138 options:
139 -I, --include <pat> include directories matching the given patterns 139 -I, --include <pat> include names matching the given patterns
140 -X, --exclude <pat> exclude directories matching the given patterns 140 -X, --exclude <pat> exclude names matching the given patterns
141 141
142 export [-o filespec] [revision] ...:: 142 export [-o filespec] [revision] ...::
143 Print the changeset header and diffs for one or more revisions. 143 Print the changeset header and diffs for one or more revisions.
144 144
145 The information shown in the changeset header is: author, 145 The information shown in the changeset header is: author,
163 163
164 forget [options] [files]:: 164 forget [options] [files]::
165 Undo an 'hg add' scheduled for the next commit. 165 Undo an 'hg add' scheduled for the next commit.
166 166
167 options: 167 options:
168 -I, --include <pat> include directories matching the given patterns 168 -I, --include <pat> include names matching the given patterns
169 -X, --exclude <pat> exclude directories matching the given patterns 169 -X, --exclude <pat> exclude names matching the given patterns
170 170
171 heads:: 171 heads::
172 Show all repository head changesets. 172 Show all repository head changesets.
173 173
174 Repository "heads" are changesets that don't have children 174 Repository "heads" are changesets that don't have children
215 215
216 options: 216 options:
217 217
218 -0, --print0 end filenames with NUL, for use with xargs 218 -0, --print0 end filenames with NUL, for use with xargs
219 -f, --fullpath print complete paths from the filesystem root 219 -f, --fullpath print complete paths from the filesystem root
220 -I, --include <pat> include directories matching the given patterns 220 -I, --include <pat> include names matching the given patterns
221 -r, --rev <rev> search the repository as it stood at rev 221 -r, --rev <rev> search the repository as it stood at rev
222 -X, --exclude <pat> exclude directories matching the given patterns 222 -X, --exclude <pat> exclude names matching the given patterns
223 223
224 log [-r revision ...] [-p] [file]:: 224 log [-r revision ...] [-p] [file]::
225 Print the revision history of the specified file or the entire project. 225 Print the revision history of the specified file or the entire project.
226 226
227 By default this command outputs: changeset id and hash, tags, 227 By default this command outputs: changeset id and hash, tags,
341 R = removed 341 R = removed
342 ? = not tracked 342 ? = not tracked
343 343
344 options: 344 options:
345 345
346 -I, --include <pat> include directories matching the given patterns 346 -I, --include <pat> include names matching the given patterns
347 -X, --exclude <pat> exclude directories matching the given patterns 347 -X, --exclude <pat> exclude names matching the given patterns
348 348
349 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]:: 349 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]::
350 Name a particular revision using <name>. 350 Name a particular revision using <name>.
351 351
352 Tags are used to name particular revisions of the repository and are 352 Tags are used to name particular revisions of the repository and are