From: Zac Medico Date: Thu, 7 Dec 2006 06:52:09 +0000 (-0000) Subject: Make repoman bail out if it's unable to generate the Manifest. X-Git-Tag: v2.1.2~380 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=134add746097a67013f9548e1e5ece556ed98e60;p=portage.git Make repoman bail out if it's unable to generate the Manifest. svn path=/main/trunk/; revision=5200 --- diff --git a/bin/repoman b/bin/repoman index 2b0909c79..443e89192 100755 --- a/bin/repoman +++ b/bin/repoman @@ -822,8 +822,9 @@ for x in scanlist: if mymode in ("fix", "commit"): repoman_settings["O"] = checkdir - portage.digestgen( - [], repoman_settings, manifestonly=1, myportdb=portdb) + if not portage.digestgen([], repoman_settings, myportdb=portdb): + print "Unable to generate manifest." + sys.exit(1) mf = Manifest(checkdir, repoman_settings["DISTDIR"]) mydigests=mf.getTypeDigests("DIST")