1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:22:19 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13531 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/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. (trunk r13379) |
10 |
|
11 |
Modified: main/branches/2.1.6/bin/repoman |
12 |
=================================================================== |
13 |
--- main/branches/2.1.6/bin/repoman 2009-04-30 07:22:04 UTC (rev 13530) |
14 |
+++ main/branches/2.1.6/bin/repoman 2009-04-30 07:22:19 UTC (rev 13531) |
15 |
@@ -1900,7 +1900,7 @@ |
16 |
print |
17 |
print "(Didn't find any changed files...)" |
18 |
print |
19 |
- sys.exit(0) |
20 |
+ sys.exit(1) |
21 |
|
22 |
# Manifests need to be regenerated after all other commits, so don't commit |
23 |
# them now even if they have changed. |