##// END OF EJS Templates
help: clarify when `$HG_URL` and `$HG_SOURCE` are added in hooks...
Aay Jay Chan -
r47734:6904a9f3 default
parent child Browse files
Show More
@@ -1161,12 +1161,12 b' be ``$HG_HOOKTYPE=incoming`` and ``$HG_H'
1161 status will cause the transaction to be rolled back. The reason for the
1161 status will cause the transaction to be rolled back. The reason for the
1162 transaction opening will be in ``$HG_TXNNAME``, and a unique identifier for
1162 transaction opening will be in ``$HG_TXNNAME``, and a unique identifier for
1163 the transaction will be in ``$HG_TXNID``. The rest of the available data will
1163 the transaction will be in ``$HG_TXNID``. The rest of the available data will
1164 vary according the transaction type. New changesets will add ``$HG_NODE``
1164 vary according the transaction type. Changes unbundled to the repository will
1165 (the ID of the first added changeset), ``$HG_NODE_LAST`` (the ID of the last
1165 add ``$HG_URL`` and ``$HG_SOURCE``. New changesets will add ``$HG_NODE`` (the
1166 added changeset), ``$HG_URL`` and ``$HG_SOURCE`` variables. Bookmark and
1166 ID of the first added changeset), ``$HG_NODE_LAST`` (the ID of the last added
1167 phase changes will set ``$HG_BOOKMARK_MOVED`` and ``$HG_PHASES_MOVED`` to
1167 changeset). Bookmark and phase changes will set ``$HG_BOOKMARK_MOVED`` and
1168 ``1`` respectively. The number of new obsmarkers, if any, will be in
1168 ``$HG_PHASES_MOVED`` to ``1`` respectively. The number of new obsmarkers, if
1169 ``$HG_NEW_OBSMARKERS``, etc.
1169 any, will be in ``$HG_NEW_OBSMARKERS``, etc.
1170
1170
1171 ``pretxnclose-bookmark``
1171 ``pretxnclose-bookmark``
1172 Run right before a bookmark change is actually finalized. Any repository
1172 Run right before a bookmark change is actually finalized. Any repository
General Comments 0
You need to be logged in to leave comments. Login now