info-cvs
[Top][All Lists]
Advanced

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

Re: intelligent binary/text detection


From: Larry Jones
Subject: Re: intelligent binary/text detection
Date: Thu, 19 Dec 2002 10:56:56 -0500 (EST)

Phil R Lawrence writes:
> 
> I'm playing with TortoiseCVS.  When adding a new module, it nicely 
> autodetects binary files vs. text files for add'ing, and prompts when it 
> can't tell.
> 
> Has anyone already written a script that will do this under linux?
> 
> I need to check in a big tree of vendor and custom source.  Some is 
> binary.  I hesitate to move it to a Windows machine and do the initial 
> check-in via TortoiseCVS.  Thus I'd like a nice script to check it in on 
> the server.

Autodetection, while convenient, is not infallible; you really need to
determine for yourself which files are text and which are binary. 

Linux, like Unix, does not differentiate between text and binary files. 
Thus, it is sufficient to import the tree with a "best guess" wrapper to
specify which files are likely to be binary and then fix up any problems
afterwards with cvs admin -k.

-Larry Jones

How many presents do you think I'd forfeit for just one
clean smack upside Susie's head? -- Calvin



reply via email to

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