I know how to indicate which interceptors fire when. I want to know if it is possible to pass the configuration to hook via the hgrc
file. Extensions can do this, for example.
[extensions] someextension = something [someextension] some.config = 1 some.other.config = True
I want to be able to do something similar for interceptions, for example.
[hooks] changegroup.mail_someone = python:something [changegroup.mail_someone] to_address = some.email.address@somewhere.com
Is something like this possible? Finding a way to do this did not bring anything useful ... If it is possible, how can I go about reading in the config in my Python in-process hook handler?
source share