info-cvs
[Top][All Lists]
Advanced

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

Re: make cvs text agnostic?


From: Frederic Brehm
Subject: Re: make cvs text agnostic?
Date: Tue, 27 Aug 2002 08:04:35 -0400

At 06:59 AM 8/27/2002, Matthew Hannigan wrote:

I've been lurking on the list for a while,
and have noticed that many of the questions
seem to hinge on text files and storing and
extracting them the right way for your platform.

The CVS clients already do this. The problem comes when people use a file system cross mounted on several different kinds of OS, checkout on one OS, and then edit and commit on another OS.

Autodetection of binary

There are enough times when autodetection gets the wrong answer that many people on this list will vigorously oppose having CVS doing this automagically. You can always write a script for yourself that will autodetect and do a "cvs add -b" or "cvs add" as appropriate. I personally would suggest a manual confirmation step for each file, unless you are really 100% sure that your script always gets the right answer.

Fred

_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/






reply via email to

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