Mercurial > hg
changeset 29849:f148bfa40489
files: change documentation to match its behaviour (issue5276)
Documentation gave the usage pattern as '[OPTION]... [PATTERN]...'
when the command match given files as relpaths by default.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Tue, 05 Jul 2016 09:37:07 +0200 |
parents | b1f69dbdd76b |
children | b842b1adfea2 |
files | mercurial/commands.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Aug 24 17:43:45 2016 -0700 +++ b/mercurial/commands.py Tue Jul 05 09:37:07 2016 +0200 @@ -3913,16 +3913,16 @@ [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')), ('0', 'print0', None, _('end filenames with NUL, for use with xargs')), ] + walkopts + formatteropts + subrepoopts, - _('[OPTION]... [PATTERN]...')) + _('[OPTION]... [FILE]...')) def files(ui, repo, *pats, **opts): """list tracked files Print files under Mercurial control in the working directory or - specified revision whose names match the given patterns (excluding - removed files). - - If no patterns are given to match, this command prints the names - of all files under Mercurial control in the working directory. + specified revision for given files (excluding removed files). + Files can be specified as filenames or filesets. + + If no files are given to match, this command prints the names + of all files under Mercurial control. .. container:: verbose