mercurial/commands.py
changeset 22433 ae1932dce9c1
parent 22431 eaeee6f95fc0
child 22452 75e166b82c7a
equal deleted inserted replaced
22432:d9446e43cd40 22433:ae1932dce9c1
  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