Skip to content
Snippets Groups Projects
  • Katsunori FUJIWARA's avatar
    a973b050621d
    localrepo: pass hook argument txnid to pretxnopen hooks · a973b050621d
    Katsunori FUJIWARA authored
    Before this patch, hook argument `txnid` isn't passed to `pretxnopen`
    hooks, even though `hooks` section of `hg help config` describes so.
    
      ``pretxnopen``
        Run before any new repository transaction is open. The reason for the
        transaction will be in ``$HG_TXNNAME`` and a unique identifier for the
        transaction will be in ``HG_TXNID``. A non-zero status will prevent the
        transaction from being opened.
    a973b050621d
    History
    localrepo: pass hook argument txnid to pretxnopen hooks
    Katsunori FUJIWARA authored
    Before this patch, hook argument `txnid` isn't passed to `pretxnopen`
    hooks, even though `hooks` section of `hg help config` describes so.
    
      ``pretxnopen``
        Run before any new repository transaction is open. The reason for the
        transaction will be in ``$HG_TXNNAME`` and a unique identifier for the
        transaction will be in ``HG_TXNID``. A non-zero status will prevent the
        transaction from being opened.