Checks before versioning a file

2002-08-10 Thread Jayashree

Hi,

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.


Regards
Jayashree

***
This message is proprietary to Future Software Limited (FSL) 
and is intended solely for the use of the individual to whom it
is addressed. It may contain  privileged or confidential information 
and should not be circulated or used for any purpose other than for 
what it is intended. 

If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient,
you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. 
FSL accepts no responsibility for loss or damage arising from 
the use of the information transmitted by this email including
damage from virus.
***


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



Re: Checks before versioning a file

2002-08-12 Thread Frederic Brehm

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, [EMAIL PROTECTED]
http://www.sarnoff.com/digital_video_informatics/vision_technology/index.asp




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