D4425: relnotes: enable extension when running releasenotes command

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Aug 30 10:30:27 UTC 2018


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Last night, when I was working on different machine, the test worked, now on a
  different machine it does not. Looks like we should make sure releasenotes
  extension is loaded.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4425

AFFECTED FILES
  contrib/relnotes

CHANGE DETAILS

diff --git a/contrib/relnotes b/contrib/relnotes
--- a/contrib/relnotes
+++ b/contrib/relnotes
@@ -110,6 +110,8 @@
     fromext = subprocess.check_output(
         [
             "hg",
+            "--config",
+            "extensions.releasenotes=",
             "releasenotes",
             "-r",
             "%s::%s" % (args.startrev[0], args.stoprev[0]),



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list