How to send commit informations to a mailing-list ?
David MENTRE
dmentre at linux-france.org
Wed Jun 7 14:15:05 CDT 2006
Hello Benoit,
David MENTRE <dmentre at linux-france.org> writes:
> "Benoit Boissinot" <bboissin at gmail.com> writes:
>
>> The notify extension was not supposed to work for the commit hook.
>
> So it is supposed to work for outgoing, changegroup and incoming hooks?
> I did not know that and it is not written anywhere neither (or I did not
> found it).
>
> Thank you for the tip (pun intended), I'll test that.
Ok, I tested it: the hook is called but no debug output is printed (nor
an email sent):
david at morgana:/tmp/repo$ echo c >> c && hg commit -mt && hg --debug -v push ssh://lfo/tmp/repo
pushing to ssh://lfo/tmp/repo
running ssh lfo "hg -R tmp/repo serve --stdio"
sending between command
sending lock command
sending heads command
searching for changes
common changesets up to 623eb7766f90
sending addchangegroup command
calling hook outgoing.notify: hgext.notify.hook
sending unlock command
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
david at morgana:/tmp/repo$ hg version
Mercurial Distributed SCM (version 0.9)
* Content of hgrc:
david at morgana:~$ cat ~/.hgrc
[ui]
username=David MENTRE <dmentre at linux-france.org>
editor=emacs
[extensions]
hbisect=
notify =
[hooks]
outgoing.notify = python:hgext.notify.hook
changegroup.notify = python:hgext.notify.hook
incoming.notify = python:hgext.notify.hook
[notify]
test = True
config = /home/david/pub/hg-subscriptions
[email]
from = David MENTRE <dmentre at linux-france.org>
* Content of hg-subscriptions
david at morgana:~$ cat /home/david/pub/hg-subscriptions
[reposubs]
repo = david.mentre at gmail.com
* = david.mentre at gmail.com
I really don't understand. :-(
Best wishes,
d.
--
GPG/PGP key: A3AD7A2A David MENTRE <dmentre at linux-france.org>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
More information about the Mercurial
mailing list