I would like to achieve a behavior similar to the NotifyExtension of Mercurial, except that instead of an email to be send, it would be an HTTP request to be performed on a specified URL.
Does anyone know how to achieve such a behavior?
I would like to achieve a behavior similar to the NotifyExtension of Mercurial, except that instead of an email to be send, it would be an HTTP request to be performed on a specified URL.
Does anyone know how to achieve such a behavior?
I would install a
changegroup
hook in the server that useswget
orcurl
to fetch the URL. See the hook documentation for the available environment variables.