From: Zac Medico Date: Thu, 30 Apr 2009 07:22:19 +0000 (-0000) Subject: Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks X-Git-Tag: v2.1.6.12~42 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ebbc24430c7151345b49dbc6913a663362a36375;p=portage.git Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks to Jeremy Olexa for the suggestion. (trunk r13379) svn path=/main/branches/2.1.6/; revision=13531 --- diff --git a/bin/repoman b/bin/repoman index cce3f9a9b..8fdbea79d 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.