1

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?

Martin Geisler
  • 1,271
  • 9
  • 23
Joannes Vermorel
  • 493
  • 2
  • 5
  • 13

1 Answers1

1

I would install a changegroup hook in the server that uses wget or curl to fetch the URL. See the hook documentation for the available environment variables.

Martin Geisler
  • 1,271
  • 9
  • 23