info-cvs
[Top][All Lists]
Advanced

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

Re: Checks before versioning a file


From: Frederic Brehm
Subject: Re: Checks before versioning a file
Date: Mon, 12 Aug 2002 08:40:16 -0400

At 02:53 PM 8/10/2002 +0530, Jayashree wrote:
Is there any way by which I can check for tab characters,#if 0's in
a file while checking in.
Also, can somebody let me know if the file format can be checked while
chcking in.
This is to avoid Ctrl-M characters when a file is versionised in dos format.

You can define a test using commitinfo. Write a small script to grep for the
"bad" characters. If it finds them, then print a nice error message and exit
with non-zero status. That will cause CVS to abort the commit.

Fred

Fred Brehm, Sarnoff Corporation, address@hidden
http://www.sarnoff.com/digital_video_informatics/vision_technology/index.asp






reply via email to

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