about sending mercurial commit notification email script on windows
Martin Geisler
mg at lazybytes.net
Wed Nov 4 13:32:23 CST 2009
"Klasky, Hilda B." <klaskyhb at ornl.gov> writes:
> Hi
>
> Does anyone you have a notify hook working on windows? Does anyone
> know how to get the hg commands to work from a bat script? I cannot it
> working.
>
> In the documentation says that we need to enable, but also, we need to
> have a script to run it. The hgrc code:
>
> [extensions]
> hgext.notify =
>
> [hooks]
> commit = c:\commithook.bat
That's not how you use the notify extension. You should instead
configure the hook like this:
[hooks]
changegroup.notify = python:hgext.notify.hook
No external script is needed.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20091104/49baa8f7/attachment.pgp
More information about the Mercurial
mailing list