--- a/mercurial/help/config.txt Wed Dec 10 18:19:49 2014 -0800
+++ b/mercurial/help/config.txt Mon Mar 09 22:36:56 2015 -0700
@@ -813,6 +813,16 @@
transaction will be in ``$HG_TXNNAME``. A non-zero status will
prevent the transaction from being opened.
+``txnclose``
+ Run after any repository transaction has been commited. At this
+ point, the transaction can no longer be rolled back. The hook will run
+ after the lock is released. The reason for the transaction will
+ be in ``$HG_TXNNAME``. The rest of the available data will vary
+ according the event that happened during the transaction. New changesets
+ will add ``$HG_NODE`` (id of the first added changeset), ``$HG_URL``
+ and ``$HG_SOURCE`` variables, bookmarks and phases changes will set
+ ``HG_BOOKMARK_MOVED`` and ``HG_PHASES_MOVED`` to ``1``, etc.
+
``pretxnchangegroup``
Run after a changegroup has been added via push, pull or unbundle,
but before the transaction has been committed. Changegroup is