[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: request for discussion: repos hook system

From: Brian Behlendorf <brian_at_collab.net>
Date: 2001-07-22 23:03:47 CEST

On Sun, 22 Jul 2001, Justus Pendleton wrote:
> One thing I've often wanted is a hook to be able to modify the
> incoming check-ins and outgoing check-outs. One use I have forseen
> for this is coding standard formatting. The idea would be that upon
> check-in a project-wide script would normalize the code to the
> standard format. Upon checkout an individual specific script would
> reformat the code to that developer's personal preferences.

That's the wrong layer to implement such a check - better to have a
development policy that says "run this 'lint' program to make sure your
code conforms to our coding standards (etc) before every commit", so that
the developer has a chance to clean things up before it goes in. MHO.

        Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:33 2006

This is an archived mail posted to the Subversion Dev mailing list.