1 |
Author: zmedico |
2 |
Date: 2008-06-21 17:11:54 +0000 (Sat, 21 Jun 2008) |
3 |
New Revision: 10756 |
4 |
|
5 |
Modified: |
6 |
main/trunk/bin/repoman |
7 |
Log: |
8 |
Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobian |
9 |
for the patch. |
10 |
|
11 |
|
12 |
Modified: main/trunk/bin/repoman |
13 |
=================================================================== |
14 |
--- main/trunk/bin/repoman 2008-06-21 16:14:03 UTC (rev 10755) |
15 |
+++ main/trunk/bin/repoman 2008-06-21 17:11:54 UTC (rev 10756) |
16 |
@@ -147,6 +147,7 @@ |
17 |
|
18 |
modes = { |
19 |
'commit' : 'Run a scan then commit changes', |
20 |
+ 'ci' : 'Run a scan then commit changes', |
21 |
'fix' : 'Fix simple QA issues (stray digests, missing digests)', |
22 |
'full' : 'Scan directory tree and print all issues (not a summary)', |
23 |
'help' : 'Show this screen', |
24 |
@@ -225,6 +226,9 @@ |
25 |
|
26 |
if not opts.mode: |
27 |
opts.mode = 'full' #default to full |
28 |
+ |
29 |
+ if opts.mode == 'ci': |
30 |
+ opts.mode = 'commit' # backwards compat shortcut |
31 |
|
32 |
if opts.mode == 'commit' and not (opts.force or opts.pretend): |
33 |
if opts.ignore_masked: |
34 |
|
35 |
-- |
36 |
gentoo-commits@l.g.o mailing list |