Re: clocc hg hooks

Sam Steingold <[email protected]> Wed, 09 Mar 2011 10:02:47 -0500
Newsgroups gmane.lisp.clocc.devel
Message-ID <[email protected]>
> * Raymond Toy <[email protected]> [2011-03-08 23:24:45 -0500]:
>
> I think it would be nice to have commit messages sent out with hg
> pushes.  Perhaps we can use the changegroup hook given in
> <http://mercurial.selenic.com/wiki/Hook#The_changegroup_hook>.  These
> seem relatively simple to setup and we can just send all mail to the
> clocc-cvs list.  This just gives the commit messages.
>
> Or perhaps the NotifyExtension
> <http://mercurial.selenic.com/wiki/NotifyExtension>, which will send out
> diffs.  (I kind of like diffs, but perhaps people consider that to be
> too cluttered for commit messages.)

I think diffs should go to clocc-devel and push notifications to
clisp-list.
or maybe not...

> In addition, I'd like the keyword extension enabled.

I don't think this is a good idea.
I used to use that with cvs but not with mercurial.
http://mercurial.selenic.com/wiki/KeywordPlan#head-2007fad6f31bf6f1f1b5c3d5b02e5c6225de3ec5
http://mercurial.selenic.com/wiki/VersioningWithMake

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X
http://www.memritv.org http://memri.org http://openvotingconsortium.org
http://pmw.org.il http://jihadwatch.org http://thereligionofpeace.com
War doesn't determine who's right, just who's left.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d