[PATCH 4 of 4] keyword: uppercase short option for kwfiles --all, like hg status -A

Christian Ebert blacktrash at gmx.net
Wed Sep 30 17:51:45 CDT 2009


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1254348018 -7200
# Node ID 15c4bb03267aa8a8009791922ca828f96ca041c2
# Parent  b025bdcf2056e9726a097bbca1a7674ada5f8eee
keyword: uppercase short option for kwfiles --all, like hg status -A

Deprecate kwfiles -a.

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -382,7 +382,7 @@
     See "hg help keyword" on how to construct patterns both for
     inclusion and exclusion of files.
 
-    With -a/--all and -v/--verbose the codes used to show the status
+    With -A/--all and -v/--verbose the codes used to show the status
     of files are::
 
       K = keyword expansion candidate
@@ -549,9 +549,11 @@
                  _('hg kwexpand [OPTION]... [FILE]...')),
     'kwfiles':
         (files,
-         [('a', 'all', None, _('show keyword status flags of all files')),
+         [('A', 'all', None, _('show keyword status flags of all files')),
           ('i', 'ignore', None, _('show files excluded from expansion')),
           ('u', 'unknown', None, _('only show unknown (not tracked) files')),
+          ('a', 'all', None,
+           _('show keyword status flags of all files (DEPRECATED)')),
           ('u', 'untracked', None, _('only show untracked files (DEPRECATED)')),
          ] + commands.walkopts,
          _('hg kwfiles [OPTION]... [FILE]...')),


More information about the Mercurial-devel mailing list