[PATCH 1 of 4] keyword: kwfiles --unknown instead of --untracked

Christian Ebert blacktrash at gmx.net
Thu Oct 1 03:14:53 CDT 2009


* timeless on Thursday, October 01, 2009 at 04:33:11 +0200
> +          ('u', 'unknown', None,
> +           _('additionally show unknown (not tracked) files')),
> +          ('u', 'untracked', None,
> +           _('additionally show untracked files (DEPRECATED)')),
> 
> what does having two items with 'u' do?

The same as -u/--unknown.

After applying the series (meaning the text changes due to
behaviour changes) the verbose help displays options like this:

options:

 -A --all             show keyword status flags of all files
 -i --ignore          show files excluded from expansion
 -u --unknown         only show unknown (not tracked) files
 -a --all             show keyword status flags of all files (DEPRECATED)
 -u --untracked       only show untracked files (DEPRECATED)
 -I --include         include names matching the given patterns
 -X --exclude         exclude names matching the given patterns

As I also changed the short option for --all (I need the long
option for get.opts('all') ) I decided this was more consistent.

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western

         --->> http://www.blacktrash.org/underdogma/ccc.php


More information about the Mercurial-devel mailing list