From: Zac Medico Date: Sat, 21 Jun 2008 17:11:54 +0000 (-0000) Subject: Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobian X-Git-Tag: v2.2_rc2~358 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d014be84174a082589abb1147997440e35878b09;p=portage.git Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobian for the patch. svn path=/main/trunk/; revision=10756 --- diff --git a/bin/repoman b/bin/repoman index 5481c1e38..3a1d5fa07 100755 --- a/bin/repoman +++ b/bin/repoman @@ -147,6 +147,7 @@ def ParseArgs(args, qahelp): modes = { 'commit' : 'Run a scan then commit changes', + 'ci' : 'Run a scan then commit changes', 'fix' : 'Fix simple QA issues (stray digests, missing digests)', 'full' : 'Scan directory tree and print all issues (not a summary)', 'help' : 'Show this screen', @@ -225,6 +226,9 @@ def ParseArgs(args, qahelp): if not opts.mode: opts.mode = 'full' #default to full + + if opts.mode == 'ci': + opts.mode = 'commit' # backwards compat shortcut if opts.mode == 'commit' and not (opts.force or opts.pretend): if opts.ignore_masked: