equal
deleted
inserted
replaced
4176 If you want to feed the output of this command into the "xargs" |
4176 If you want to feed the output of this command into the "xargs" |
4177 command, use the -0 option to both this command and "xargs". This |
4177 command, use the -0 option to both this command and "xargs". This |
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' |
4184 rev = scmutil.revsingle(repo, opts.get('rev'), None).node() |
4186 rev = scmutil.revsingle(repo, opts.get('rev'), None).node() |
4185 |
4187 |