Show More
@@ -4178,6 +4178,8 b' def locate(ui, repo, *pats, **opts):' | |||||
4178 | will avoid the problem of "xargs" treating single filenames that |
|
4178 | will avoid the problem of "xargs" treating single filenames that | |
4179 | contain whitespace as multiple filenames. |
|
4179 | contain whitespace as multiple filenames. | |
4180 |
|
4180 | |||
|
4181 | See :hg:`help files` for a more versatile command. | |||
|
4182 | ||||
4181 | Returns 0 if a match is found, 1 otherwise. |
|
4183 | Returns 0 if a match is found, 1 otherwise. | |
4182 | """ |
|
4184 | """ | |
4183 | end = opts.get('print0') and '\0' or '\n' |
|
4185 | end = opts.get('print0') and '\0' or '\n' |
General Comments 0
You need to be logged in to leave comments.
Login now