Make repoman exit with nonzero status whenever there are qa issues (already does...
authorZac Medico <zmedico@gentoo.org>
Fri, 15 Jun 2007 21:38:51 +0000 (21:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 15 Jun 2007 21:38:51 +0000 (21:38 -0000)
svn path=/main/trunk/; revision=6856

bin/repoman

index 5b16ae0b14c2357a38de650324736042c940bd68..6fcc2a1afa19d52e8284b4f30e4b475224cc7c7c 100755 (executable)
@@ -1497,6 +1497,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: