4159 ('0', 'print0', None, _('end filenames with NUL, for use with xargs')), |
4159 ('0', 'print0', None, _('end filenames with NUL, for use with xargs')), |
4160 ('f', 'fullpath', None, _('print complete paths from the filesystem root')), |
4160 ('f', 'fullpath', None, _('print complete paths from the filesystem root')), |
4161 ] + walkopts, |
4161 ] + walkopts, |
4162 _('[OPTION]... [PATTERN]...')) |
4162 _('[OPTION]... [PATTERN]...')) |
4163 def locate(ui, repo, *pats, **opts): |
4163 def locate(ui, repo, *pats, **opts): |
4164 """locate files matching specific patterns |
4164 """locate files matching specific patterns (DEPRECATED) |
4165 |
4165 |
4166 Print files under Mercurial control in the working directory whose |
4166 Print files under Mercurial control in the working directory whose |
4167 names match the given patterns. |
4167 names match the given patterns. |
4168 |
4168 |
4169 By default, this command searches all directories in the working |
4169 By default, this command searches all directories in the working |