summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:22:19 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:22:19 +0000
commitebbc24430c7151345b49dbc6913a663362a36375 (patch)
tree6585bfe61393c1749d79fa692946e07128719783
parentClarify language in repos.conf reference to repoman and egencache. (diff)
downloadportage-multirepo-ebbc24430c7151345b49dbc6913a663362a36375.tar.gz
portage-multirepo-ebbc24430c7151345b49dbc6913a663362a36375.tar.bz2
portage-multirepo-ebbc24430c7151345b49dbc6913a663362a36375.zip
Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks
to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r13379) svn path=/main/branches/2.1.6/; revision=13531
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index cce3f9a9..8fdbea79 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1900,7 +1900,7 @@ else:
print
print "(Didn't find any changed files...)"
print
- sys.exit(0)
+ sys.exit(1)
# Manifests need to be regenerated after all other commits, so don't commit
# them now even if they have changed.