[cvsnt] Re: why .doc, .xml, .dll files are readed as binary and .html, .asp file is treated as text

Gerhard Fiedler lists at connectionbrazil.com
Mon May 1 14:58:55 BST 2006


Bo Berglund wrote:

> If you add the file as text then it will be treated as text and all line
> endings inside the file will be converted depending on from where a
> checkout command is received. 

> But this [adding as binary] also means that Concurrent use is
> no longer possible because binary file edits cannot be merged across
> developers...

I just wanted to separate these two points from the whole message and
repeat them, as I think they deserve it. 

1- Add a file as text whenever possible.

2- If you don't want that line end characters get converted according to
the client platform, you must add a file as binary. (Some proprietary
formats, even though they are basically text, may not like their line ends
to get converted.)

3- If you don't want a file to get merged by cvsnt, you must add it as
binary. (Some formats, even though they may be text, may not be mergeable
by cvsnt. The RTF format maybe falls in this category, as do other
automatically generated formats.)

Gerhard



More information about the cvsnt mailing list