From cc1c0813859d7860e3f4a497e41ee51bb86111f8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Oct 2011 19:54:39 -0700 Subject: repoman --echangelog: fix manifest-only commmits --- bin/repoman | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- cgit v1.2.3-1-g7c22