Dickson, Craig [mailto:[EMAIL PROTECTED] wrote:
> I use a script called from my commitinfo file to format all 
> Java files before they get comitted to the repository. This 
> works fine, all Java files in the repository are formatted nicely.
Bad idea. The repository should store exactly what it is given, it should
not modify anything (the only exception being the well-documented keywords
such as $Id$). Your commitinfo script should, instead, simply check the
formatting and issue an error code - thereby aborting the commit - if the
formatting is wrong.

-- 
Jim Hyslop 
Senior Software Designer 
Leitch Technology International Inc. (<http://www.leitch.com/>) 
Columnist, C/C++ Users Journal (<http://www.cuj.com/experts>) 



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to