Mercurial > hg
diff mercurial/pushkey.py @ 31746:0fa30fbccc34
hook: provide hook type information to external hook
The python hooks have access to the hook type information. There is not reason
for external hook to not be aware of it too.
For the record my use case is to make sure a hook script is configured for the
right type.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 31 Mar 2017 11:08:11 +0200 |
parents | 7b200566e474 |
children | 57875cf423c9 |