From: Zac Medico Date: Fri, 15 Jun 2007 21:39:18 +0000 (-0000) Subject: Make repoman exit with nonzero status whenever there are qa issues (already does... X-Git-Tag: v2.1.3~216 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95e52479f8df936e9168e7e567bc5c2725f6caea;p=portage.git Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz in bug #182166. (trunk r6856) svn path=/main/branches/2.1.2/; revision=6857 --- diff --git a/bin/repoman b/bin/repoman index c033a0d44..cbc823458 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1485,6 +1485,10 @@ if mymode!="commit": print green("RepoMan sez:"),"\"OK for now, but I'll be back ...\"" elif not dofail: print green("RepoMan sez:"),"\"If everyone were like you, I'd be out of business!\"" + elif dofail: + print turquoise("Please fix these important QA issues first.") + print green("RepoMan sez:"),"\"Make your QA payment on time and you'll never see the likes of me.\"\n" + sys.exit(1) if quiet < 1: print else: