[Top][All Lists]

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

Re: CVS and unicode

From: Spiro Trikaliotis
Subject: Re: CVS and unicode
Date: Sat, 10 Sep 2005 16:04:16 +0200
User-agent: Mutt/1.5.9i

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.


Spiro R. Trikaliotis                               

reply via email to

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