[PATCH 2 of 2] purge: add the '-a' short alias for the '--all' option

Emanuele Aina em at nerd.ocracy.org
Wed May 7 07:19:36 CDT 2008


# HG changeset patch
# User Emanuele Aina <em at nerd.ocracy.org>
# Date 1209989833 -7200
# Node ID a2179f7b633d5b90759aa6927f067a706a4065e6
# Parent  1e2c67f598ebb7bd756646880abc67a4408a3bc3
purge: add the '-a' short alias for the '--all' option

diff -r 1e2c67f598eb -r a2179f7b633d hgext/purge.py
--- a/hgext/purge.py	Mon May 05 14:16:37 2008 +0200
+++ b/hgext/purge.py	Mon May 05 14:17:13 2008 +0200
@@ -142,7 +142,7 @@
     'purge|clean':
         (purge,
          [('c', 'continue-on-errors', None, _('continue even if some error occurred')),
-          ('',  'all', None, _('purge ignored files too')),
+          ('a',  'all', None, _('purge ignored files too')),
           ('f', 'force', None, _('purge even when there are uncommitted changes')),
           ('p', 'print', None, _('print the file names instead of deleting them')),
           ('0', 'print0', None, _('end filenames with NUL, for use with xargs'




More information about the Mercurial-devel mailing list