Update Manifest automatically in repoman commit mode for bug #130541.
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Apr 2006 05:48:30 +0000 (05:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Apr 2006 05:48:30 +0000 (05:48 -0000)
svn path=/main/trunk/; revision=3177

bin/repoman

index bad10aec2ad2d3288727b1a1fc5854e4cec25170..b11bf0fd47e5a1d308fcf09b43b898cb99d19edc 100755 (executable)
@@ -795,6 +795,10 @@ for x in scanlist:
                                fails["CVS/Entries.IO_error"].append(checkdir+"/files/CVS/Entries")
                        continue
 
+       if mymode == "commit":
+               repoman_settings["O"] = checkdir
+               portage.digestgen([], repoman_settings, manifestonly=1)
+
        mf = Manifest(checkdir,
                portage.FetchlistDict(checkdir, repoman_settings),
                repoman_settings["DISTDIR"])