From: Zac Medico Date: Sat, 15 Oct 2011 02:54:39 +0000 (-0700) Subject: repoman --echangelog: fix manifest-only commmits X-Git-Tag: v2.2.0_alpha68~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc1c0813859d7860e3f4a497e41ee51bb86111f8;p=portage.git repoman --echangelog: fix manifest-only commmits --- diff --git a/bin/repoman b/bin/repoman index ffc622c2f..2b4cd28e6 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2451,7 +2451,7 @@ else: checkdir_modified = False checkdir_pattern = checkdir_relative.rstrip(os.sep) + os.sep - for f in chain(myupdates, myremoved): + for f in chain(myupdates, mymanifests, myremoved): if f.startswith(checkdir_pattern): checkdir_modified = True break @@ -2460,7 +2460,9 @@ else: myupdates.append(changelog_path) logging.info("calling echangelog for package %s" % x) - echangelog_args = ["echangelog", "--vcs", vcs, changelog_msg] + # --no-strict is required if only manifest(s) have changed + echangelog_args = ["echangelog", "--no-strict", + "--vcs", vcs, changelog_msg] if options.pretend: writemsg_stdout("(%s)\n" % (" ".join(echangelog_args),), noiselevel=-1)