Commit Graph

8 Commits

Author SHA1 Message Date
Vadim Gelfer
be9056ad56 notify: fix off by one error. 2006-05-19 14:57:45 -07:00
Aurelien Jacobs ext:(%22)
b68ea13e18 notify changeset diff should be against current node instead of tip 2006-05-16 14:17:45 -07:00
Vadim Gelfer
990eecd90f localrepository.addchangegroup: add more source infos to hooks 2006-05-08 16:50:27 -07:00
Vadim Gelfer
8ea7dbe8d0 notify: add 'to' header to message. 2006-05-08 12:27:30 -07:00
Vadim Gelfer
a82c03a7e0 notify extension: generate right number of diffs 2006-05-08 11:16:09 -07:00
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