mercurial/help/config.txt
changeset 34710 cdf833d7de98
parent 34709 c212947273a7
child 34711 f6d17075608f
equal deleted inserted replaced
34709:c212947273a7 34710:cdf833d7de98
  1012   Run after any bookmark change has been committed. At this point, the
  1012   Run after any bookmark change has been committed. At this point, the
  1013   transaction can no longer be rolled back. The hook will run after the lock
  1013   transaction can no longer be rolled back. The hook will run after the lock
  1014   is released. See :hg:`help config.hooks.pretxnclose-bookmark` for details
  1014   is released. See :hg:`help config.hooks.pretxnclose-bookmark` for details
  1015   about available variables.
  1015   about available variables.
  1016 
  1016 
       
  1017 ``txnclose-phase``
       
  1018   Run after any phase change has been committed. At this point, the
       
  1019   transaction can no longer be rolled back. The hook will run after the lock
       
  1020   is released.
       
  1021   The affected node is available in ``$HG_NODE``, the new phase will be
       
  1022   available in ``$HG_PHASE`` while the previous phase will be available in
       
  1023   ``$HG_OLDPHASE``. In case of new node, ``$HG_OLDPHASE`` will be empty.  In
       
  1024   addition, the reason for the transaction opening will be in ``$HG_TXNNAME``,
       
  1025   and a unique identifier for the transaction will be in ``HG_TXNID``.
       
  1026 
  1017 ``txnabort``
  1027 ``txnabort``
  1018   Run when a transaction is aborted. See :hg:`help config.hooks.pretxnclose`
  1028   Run when a transaction is aborted. See :hg:`help config.hooks.pretxnclose`
  1019   for details about available variables.
  1029   for details about available variables.
  1020 
  1030 
  1021 ``pretxnchangegroup``
  1031 ``pretxnchangegroup``