Commit Graph

103 Commits

Author SHA1 Message Date
Vadim Gelfer
41eb4e2c6e reverse sense of return value from python hooks.
old scheme (False/None/0/'' == fail) made coding style
unnatural, did not allow use of mercurial commands as hooks.

new scheme (False/None/0 == pass) is pythonic, does not require peculiar
"return True" at ends of hooks, allows hooks like this:

[hooks]
# update working dir after push into this repo
changegroup.update = python:mercurial.commands.update
2006-05-08 10:59:58 -07:00
Vadim Gelfer
ef1e3759c2 add email notification hook. hook written in python.
email headers and body can be customized using template code.
2006-05-04 15:07:35 -07:00
Bryan O'Sullivan
f8888fa454 patch queue: notify.patch 2006-05-04 12:25:10 -07:00