# HG changeset patch # User Aay Jay Chan # Date 2021-04-05 06:19:17 # Node ID 2c843ad6852812eb1de9be7f1a03c81c631866d3 # Parent 314386a19cffb37e6c96161ac230cada9eee06b3 help: document `$HG_NEW_OBSMARKERS` in pretxnclose hook Differential Revision: https://phab.mercurial-scm.org/D10399 diff --git a/mercurial/helptext/config.txt b/mercurial/helptext/config.txt --- a/mercurial/helptext/config.txt +++ b/mercurial/helptext/config.txt @@ -1165,7 +1165,8 @@ be ``$HG_HOOKTYPE=incoming`` and ``$HG_H (the ID of the first added changeset), ``$HG_NODE_LAST`` (the ID of the last added changeset), ``$HG_URL`` and ``$HG_SOURCE`` variables. Bookmark and phase changes will set ``$HG_BOOKMARK_MOVED`` and ``$HG_PHASES_MOVED`` to - ``1`` respectively, etc. + ``1`` respectively. The number of new obsmarkers, if any, will be in + ``$HG_NEW_OBSMARKERS``, etc. ``pretxnclose-bookmark`` Run right before a bookmark change is actually finalized. Any repository