181 aliases: patch |
181 aliases: patch |
182 |
182 |
183 init:: |
183 init:: |
184 Initialize a new repository in the current directory. |
184 Initialize a new repository in the current directory. |
185 |
185 |
|
186 locate [options] [patterns]:: |
|
187 Print all files under Mercurial control whose names or paths match |
|
188 the given patterns. |
|
189 |
|
190 Patterns are shell-style globs. To restrict searches to specific |
|
191 directories, use the "-i <pat>" option. To eliminate particular |
|
192 directories from searching, use the "-x <pat>" option. |
|
193 |
|
194 This command searches the current directory and its |
|
195 subdirectories. To search an entire repository, move to the root |
|
196 of the repository. |
|
197 |
|
198 If no patterns are given to match, this command prints all file |
|
199 names. |
|
200 |
|
201 If you want to feed the output of this command into the "xargs" |
|
202 command, use the "-0" option to both this command and "xargs". |
|
203 This will avoid the problem of "xargs" treating single filenames |
|
204 that contain white space as multiple file names. |
|
205 |
|
206 options: |
|
207 |
|
208 -0, --print0 end filenames with NUL, for use with xargs |
|
209 -f, --fullpath print complete paths from the filesystem root |
|
210 -i, --include <pat> include directories matching the given globs |
|
211 -r, --rev <rev> search the repository as it stood at rev |
|
212 -x, --exclude <pat> exclude directories matching the given globs |
|
213 |
186 log [-r revision ...] [-p] [file]:: |
214 log [-r revision ...] [-p] [file]:: |
187 Print the revision history of the specified file or the entire project. |
215 Print the revision history of the specified file or the entire project. |
188 |
216 |
189 By default this command outputs: changeset id and hash, tags, |
217 By default this command outputs: changeset id and hash, tags, |
190 parents, user, date and time, and a summary for each commit. The |
218 parents, user, date and time, and a summary for each commit. The |