projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0d8ea
)
Make repoman bail out if it's unable to generate the Manifest.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Dec 2006 06:52:09 +0000
(06:52 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Dec 2006 06:52:09 +0000
(06:52 -0000)
svn path=/main/trunk/; revision=5200
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 2b0909c79a8b362d93500e12463b566c3aabd66c..443e8919296affcef09ca3a0cdfc3fef481d5a1d 100755
(executable)
--- 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")