# HG changeset patch # User Matt Harbison # Date 2021-02-01 20:37:03 # Node ID 38d76908c01112933ea30d2e6eadf0218c36eb60 # Parent e933e66153f3d3409c54c39809408cdb46bb42fa relnotes: elaborate on the side effects of hooks having HGPLAIN=1 Differential Revision: https://phab.mercurial-scm.org/D9943 diff --git a/relnotes/next b/relnotes/next --- a/relnotes/next +++ b/relnotes/next @@ -37,7 +37,11 @@ is also supported by "premerge" as `merge-tools..premerge=keep-mergediff`. - * External hooks are now called with `HGPLAIN=1` preset. + * External hooks are now called with `HGPLAIN=1` preset. This has the side + effect of ignoring aliases, templates, revsetaliases, and a few other config + options in any `hg` command spawned by the hook. The previous behavior + can be restored by setting HGPLAINEXCEPT appropriately in the parent process. + See `hg help environment` for the list of items, and how to set it. * The `branchmap` cache is updated more intelligently and can be significantly faster for repositories with many branches and changesets.