info-cvs
[Top][All Lists]
Advanced

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

Re: adding binary file


From: Larry Jones
Subject: Re: adding binary file
Date: Mon, 11 Mar 2002 12:05:23 -0500 (EST)

Marcus Crafter writes:
> 
>       If you commit the binary file without -kb, and it happens to contain
>       strings like $Id:$ (or others) then they will be replaced with:
>       
>       $Id: makefile,v 1.48 2002/03/08 17:43:42 crafterm Exp $
> 
>       which won't be good thing and could corrupt the file.

That happens on checkout, not on import.  If you're on a platform that
distinguishes between text and binary files (e.g., Windows), importing a
binary file as text will almost certainly corrupt it.  If you're on a
platform that does not distinguish between text and binary files (e.g.,
Unix or Linux), then the import is safe but you'll have to subsequently
mark the file as binary or checkout may well corrupt it.

-Larry Jones

>From now on, I'm devoting myself to the cultivation of
interpersonal relationships. -- Calvin



reply via email to

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