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

Reply via email to