I have a server which hosts a mercurial repository with hgwebdir. Is it possible to make mercurial to run a script when someone pushes to this repository?
Currently I use a script that checks the repository state every few minutes, but this is obviously an ugly solution.
I have a server which hosts a mercurial repository with hgwebdir. Is it possible
Share
You have to add a hook to your Mercurial server:
Look at Handling repository events with hooks in the Mercurial red-bean book for more details.