Show More
@@ -1151,7 +1151,7 b' be ``$HG_HOOKTYPE=incoming`` and ``$HG_H' | |||
|
1151 | 1151 | ``pretxnopen`` |
|
1152 | 1152 | Run before any new repository transaction is open. The reason for the |
|
1153 | 1153 | transaction will be in ``$HG_TXNNAME``, and a unique identifier for the |
|
1154 | transaction will be in ``HG_TXNID``. A non-zero status will prevent the | |
|
1154 | transaction will be in ``$HG_TXNID``. A non-zero status will prevent the | |
|
1155 | 1155 | transaction from being opened. |
|
1156 | 1156 | |
|
1157 | 1157 | ``pretxnclose`` |
@@ -1160,12 +1160,12 b' be ``$HG_HOOKTYPE=incoming`` and ``$HG_H' | |||
|
1160 | 1160 | content or change it. Exit status 0 allows the commit to proceed. A non-zero |
|
1161 | 1161 | status will cause the transaction to be rolled back. The reason for the |
|
1162 | 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 | 1164 | vary according the transaction type. New changesets will add ``$HG_NODE`` |
|
1165 | 1165 | (the ID of the first added changeset), ``$HG_NODE_LAST`` (the ID of the last |
|
1166 | 1166 | added changeset), ``$HG_URL`` and ``$HG_SOURCE`` variables. Bookmark and |
|
1167 |
phase changes will set ``HG_BOOKMARK_MOVED`` and ``HG_PHASES_MOVED`` to |
|
|
1168 | respectively, etc. | |
|
1167 | phase changes will set ``$HG_BOOKMARK_MOVED`` and ``$HG_PHASES_MOVED`` to | |
|
1168 | ``1`` respectively, etc. | |
|
1169 | 1169 | |
|
1170 | 1170 | ``pretxnclose-bookmark`` |
|
1171 | 1171 | Run right before a bookmark change is actually finalized. Any repository |
@@ -1179,7 +1179,7 b' be ``$HG_HOOKTYPE=incoming`` and ``$HG_H' | |||
|
1179 | 1179 | will be empty. |
|
1180 | 1180 | In addition, the reason for the transaction opening will be in |
|
1181 | 1181 | ``$HG_TXNNAME``, and a unique identifier for the transaction will be in |
|
1182 | ``HG_TXNID``. | |
|
1182 | ``$HG_TXNID``. | |
|
1183 | 1183 | |
|
1184 | 1184 | ``pretxnclose-phase`` |
|
1185 | 1185 | Run right before a phase change is actually finalized. Any repository change |
@@ -1191,7 +1191,7 b' be ``$HG_HOOKTYPE=incoming`` and ``$HG_H' | |||
|
1191 | 1191 | while the previous ``$HG_OLDPHASE``. In case of new node, ``$HG_OLDPHASE`` |
|
1192 | 1192 | will be empty. In addition, the reason for the transaction opening will be in |
|
1193 | 1193 | ``$HG_TXNNAME``, and a unique identifier for the transaction will be in |
|
1194 | ``HG_TXNID``. The hook is also run for newly added revisions. In this case | |
|
1194 | ``$HG_TXNID``. The hook is also run for newly added revisions. In this case | |
|
1195 | 1195 | the ``$HG_OLDPHASE`` entry will be empty. |
|
1196 | 1196 | |
|
1197 | 1197 | ``txnclose`` |
General Comments 0
You need to be logged in to leave comments.
Login now