changeset 46968:2c843ad68528

help: document `$HG_NEW_OBSMARKERS` in pretxnclose hook Differential Revision: https://phab.mercurial-scm.org/D10399
author Aay Jay Chan <aayjaychan@itopia.com.hk>
date Mon, 05 Apr 2021 14:19:17 +0800
parents 314386a19cff
children d9531094cf8e
files mercurial/helptext/config.txt
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/config.txt	Thu Apr 01 22:43:55 2021 +0800
+++ b/mercurial/helptext/config.txt	Mon Apr 05 14:19:17 2021 +0800
@@ -1165,7 +1165,8 @@
   (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