Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13379 - main/trunk/bin
Date: Tue, 21 Apr 2009 07:01:02
Message-Id: E1Lw9AA-00047i-7A@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-21 06:08:57 +0000 (Tue, 21 Apr 2009)
3 New Revision: 13379
4
5 Modified:
6 main/trunk/bin/repoman
7 Log:
8 Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks
9 to Jeremy Olexa <darkside@g.o> for the suggestion.
10
11
12 Modified: main/trunk/bin/repoman
13 ===================================================================
14 --- main/trunk/bin/repoman 2009-04-20 21:45:21 UTC (rev 13378)
15 +++ main/trunk/bin/repoman 2009-04-21 06:08:57 UTC (rev 13379)
16 @@ -1900,7 +1900,7 @@
17 print
18 print "(Didn't find any changed files...)"
19 print
20 - sys.exit(0)
21 + sys.exit(1)
22
23 # Manifests need to be regenerated after all other commits, so don't commit
24 # them now even if they have changed.