summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-15 21:38:51 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-15 21:38:51 +0000
commit63f59d7ee1f8264cbca178f3d1f0b94fa4e14f44 (patch)
tree2e5ba5cedac7bd6d0648ed9bc1fcf09b19de381a /bin
parente89195e450eceed215d1714871e019770c859c99 (diff)
downloadportage-63f59d7ee1f8264cbca178f3d1f0b94fa4e14f44.tar.gz
portage-63f59d7ee1f8264cbca178f3d1f0b94fa4e14f44.tar.bz2
portage-63f59d7ee1f8264cbca178f3d1f0b94fa4e14f44.zip
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166.
svn path=/main/trunk/; revision=6856
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 5b16ae0b1..6fcc2a1af 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -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: