| 1 |
.TH HG LOCATE "" "" "" |
| 2 |
.SH NAME |
| 3 |
hg locate \- locate files matching specific patterns (DEPRECATED) |
| 4 |
.\" Man page generated from reStructuredText. |
| 5 |
. |
| 6 |
.SH SYNOPSIS |
| 7 |
.sp |
| 8 |
.nf |
| 9 |
.ft C |
| 10 |
hg locate [OPTION]... [PATTERN]... |
| 11 |
.ft P |
| 12 |
.fi |
| 13 |
.SH DESCRIPTION |
| 14 |
.sp |
| 15 |
Print files under Mercurial control in the working directory whose |
| 16 |
names match the given patterns. |
| 17 |
.sp |
| 18 |
By default, this command searches all directories in the working |
| 19 |
directory. To search just the current directory and its |
| 20 |
subdirectories, use "\-\-include .". |
| 21 |
.sp |
| 22 |
If no patterns are given to match, this command prints the names |
| 23 |
of all files under Mercurial control in the working directory. |
| 24 |
.sp |
| 25 |
If you want to feed the output of this command into the "xargs" |
| 26 |
command, use the \-0 option to both this command and "xargs". This |
| 27 |
will avoid the problem of "xargs" treating single filenames that |
| 28 |
contain whitespace as multiple filenames. |
| 29 |
.sp |
| 30 |
See \%\fBhg help files\fP\: for a more versatile command. |
| 31 |
.sp |
| 32 |
Returns 0 if a match is found, 1 otherwise. |
| 33 |
.SH OPTIONS |
| 34 |
.INDENT 0.0 |
| 35 |
.TP |
| 36 |
.BI \-r, \-\-rev \ <REV> |
| 37 |
. |
| 38 |
search the repository as it is in REV |
| 39 |
.TP |
| 40 |
.B \-0, \-\-print0 |
| 41 |
. |
| 42 |
end filenames with NUL, for use with xargs |
| 43 |
.TP |
| 44 |
.B \-f, \-\-fullpath |
| 45 |
. |
| 46 |
print complete paths from the filesystem root |
| 47 |
.TP |
| 48 |
.BI \-I, \-\-include \ <PATTERN[+]> |
| 49 |
. |
| 50 |
include names matching the given patterns |
| 51 |
.TP |
| 52 |
.BI \-X, \-\-exclude \ <PATTERN[+]> |
| 53 |
. |
| 54 |
exclude names matching the given patterns |
| 55 |
.UNINDENT |
| 56 |
.sp |
| 57 |
[+] marked option can be specified multiple times |
| 58 |
.\" Generated by docutils manpage writer. |
| 59 |
.\" |
| 60 |
. |