repoman: Manifest after ChangeLog, bug #420735
authorZac Medico <zmedico@gentoo.org>
Mon, 11 Jun 2012 23:23:59 +0000 (16:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 11 Jun 2012 23:23:59 +0000 (16:23 -0700)
bin/repoman

index 65ba4595d7439d561276ea1dc1d8905331281ca9..d3a4d774d57e661f0f8b16004dd10796b9f8b179 100755 (executable)
@@ -2543,6 +2543,11 @@ else:
                        else:
                                myupdates.append(changelog_path)
 
+                       if not options.pretend:
+                               # regenerate Manifest for modified ChangeLog (bug #420735)
+                               repoman_settings["O"] = checkdir
+                               digestgen(mysettings=repoman_settings, myportdb=portdb)
+
        if myautoadd:
                print(">>> Auto-Adding missing Manifest/ChangeLog file(s)...")
                add_cmd = [vcs, "add"]