mercurial/help/config.txt
changeset 24281 e9ede9b4c2f8
parent 23629 a04c7b74b3d5
child 24282 db8679812f84
equal deleted inserted replaced
24280:6c55e37ba5f2 24281:e9ede9b4c2f8
   806   Run before creating a tag. Exit status 0 allows the tag to be
   806   Run before creating a tag. Exit status 0 allows the tag to be
   807   created. Non-zero status will cause the tag to fail. ID of
   807   created. Non-zero status will cause the tag to fail. ID of
   808   changeset to tag is in ``$HG_NODE``. Name of tag is in ``$HG_TAG``. Tag is
   808   changeset to tag is in ``$HG_NODE``. Name of tag is in ``$HG_TAG``. Tag is
   809   local if ``$HG_LOCAL=1``, in repository if ``$HG_LOCAL=0``.
   809   local if ``$HG_LOCAL=1``, in repository if ``$HG_LOCAL=0``.
   810 
   810 
       
   811 ``pretxnopen``
       
   812   Run before any new repository transaction is open. The reason for the
       
   813   transaction will be in ``$HG_TXNNAME``. A non-zero status will
       
   814   prevent the transaction from being opened.
       
   815 
   811 ``pretxnchangegroup``
   816 ``pretxnchangegroup``
   812   Run after a changegroup has been added via push, pull or unbundle,
   817   Run after a changegroup has been added via push, pull or unbundle,
   813   but before the transaction has been committed. Changegroup is
   818   but before the transaction has been committed. Changegroup is
   814   visible to hook program. This lets you validate incoming changes
   819   visible to hook program. This lets you validate incoming changes
   815   before accepting them. Passed the ID of the first new changeset in
   820   before accepting them. Passed the ID of the first new changeset in