email notification setup
mpm at selenic.com
Thu Sep 22 10:16:27 CDT 2005
On Thu, Sep 22, 2005 at 03:20:21PM +0200, Zbynek Winkler wrote:
> Does anyone have an email notificator ready for use with mercurial
> changegroup hook?
Add this to .hg/hgrc:
commit = commithook
And put this in your path:
SUBJECT=`hg log -r $NODE | grep "^summary:" | cut -b 14-`
hg log -vpr $NODE | mail -s "commit: $SUBJECT" commit-list at example.com
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial