Mercurial > hg
diff mercurial/obsutil.py @ 33664:f3407d56a6e8
bundle2: add the capability to store hookargs on bundle operation object
There are extensions like pushrebase, pushvars which run hooks on a server
before taking the lock. Since the lock is not taken, transaction is not there,
so the hookargs can't be stored on the transaction. Adding hooksargs to bundle
operation object will help in running hooks before taking the lock.
This is a part of moving fb's extension bundle2hooks to core.
Differential Revision: https://phab.mercurial-scm.org/D208
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 02 Aug 2017 03:08:42 +0530 |
parents | 68f3e819d41d |
children | 888f24810ea2 |