info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Getting commitinfo changes back to client


From: Jim.Hyslop
Subject: RE: Getting commitinfo changes back to client
Date: Tue, 9 Dec 2003 10:06:16 -0500

Dickson, Craig [mailto:address@hidden 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>) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]