From d014be84174a082589abb1147997440e35878b09 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 21 Jun 2008 17:11:54 +0000 Subject: Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobian for the patch. svn path=/main/trunk/; revision=10756 --- bin/repoman | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') 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: -- cgit v1.2.3-1-g7c22