mercurial/commands.py
changeset 29849 f148bfa40489
parent 29841 d5883fd055c6
child 29854 b842b1adfea2
equal deleted inserted replaced
29848:b1f69dbdd76b 29849:f148bfa40489
  3911 
  3911 
  3912 @command('files',
  3912 @command('files',
  3913     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
  3913     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
  3914      ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),
  3914      ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),
  3915     ] + walkopts + formatteropts + subrepoopts,
  3915     ] + walkopts + formatteropts + subrepoopts,
  3916     _('[OPTION]... [PATTERN]...'))
  3916     _('[OPTION]... [FILE]...'))
  3917 def files(ui, repo, *pats, **opts):
  3917 def files(ui, repo, *pats, **opts):
  3918     """list tracked files
  3918     """list tracked files
  3919 
  3919 
  3920     Print files under Mercurial control in the working directory or
  3920     Print files under Mercurial control in the working directory or
  3921     specified revision whose names match the given patterns (excluding
  3921     specified revision for given files (excluding removed files).
  3922     removed files).
  3922     Files can be specified as filenames or filesets.
  3923 
  3923 
  3924     If no patterns are given to match, this command prints the names
  3924     If no files are given to match, this command prints the names
  3925     of all files under Mercurial control in the working directory.
  3925     of all files under Mercurial control.
  3926 
  3926 
  3927     .. container:: verbose
  3927     .. container:: verbose
  3928 
  3928 
  3929       Examples:
  3929       Examples:
  3930 
  3930