From: Zac Medico Date: Tue, 21 Apr 2009 06:08:57 +0000 (-0000) Subject: Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks X-Git-Tag: v2.2_rc32~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782;p=portage.git Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks to Jeremy Olexa for the suggestion. svn path=/main/trunk/; revision=13379 --- diff --git a/bin/repoman b/bin/repoman index 9d1185746..95a05119a 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.