Hello Christian,

* On Sat, Sep 10, 2005 at 12:38:19PM +0200 Christian Hujer wrote:

> Currently, CVS has extremely tolerant behaviour regarding binary files which 
> were accidently added as text files. As long as they do not contain keywords 
> (like $Id...$), they are extremely likely to still be handled conveniently. 

This is true for Unix based systems, but not for systems where CR/LF is
the usual line ending. Checking in a binary file from a Windows system,
you have very good chances to break it if there is a CR/LF anywhere
inside of it.

For non-CR/LF machines, checking in binary files without -kb does
not do any harm even if there are keywords ($Id$, for example) inside of
it. CVS checks them in "as-is" and only expands the keywords on
checkout. Thus, if you forgot doing the -kb on checkin, just set the
state afterwards with cvs admin and check the file out again.

As told, this is NOT true for CR/LF based systems.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://cbm4win.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/


_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to