[Cvsnt] are the repositories compatibles from Unix to NT

Bo Berglund Bo.Berglund at system3r.se
Mon Mar 11 16:32:42 GMT 2002


It should not work like you describe...
CVS stores text files internally in the repository using the UNIX linefeed (LF) as
line ending char. Binary files are stored in a different way.

When a client calls CVS server to retrieve a file it gets that file with the LF
line endings from the server. Then the CVS *client* converts the line ends to
whatever is the standard for that operating system.

This means that unless people on your UNIX system have been storing their text
files as binary they will NOT have the CRLF endings in place on the server and so
the repository should be movable over to CVSNT quite simply by coping the files
and directories themselves.

Mixing of line ends typically takes place when several developers work on the same
set of working files (sandbox) that has been placed in a Samba share on a Unix
machine. Then if you are on Unix and use the unix editors and cvs tools you treat
the files in one way (no CR:s) whereas if you are on a Windows machine you add CR
to all line ends. Then depending on who does the commit there will be confusion!
Basically you would se a mix of what you describe. But it has nothing to do with
the server functions, only bad usage....

/Bo


-----Original Message-----
From: Eric Plichon [mailto:eplichon at cognicase.fr]
Sent: den 11 mars 2002 09:54
To: cvsnt at cvsnt.org
Subject: [Cvsnt] are the repositories compatibles from Unix to NT


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Hello,

I Have a lot of projects stored on a CVS repository with binaries and text
files.

theses repositories has been made on Unix

When I try to port them on my NT CVS server, I have CR-LF problems.

On the Unix repository all the LF are strores with the CRLF form

With the windows client, if I try to use my Windows server,

- the text files are with (CRCRLF)
- in the binaries files, some of LF bytes are transformes to CRLF


How can I correct theses problems, I don't know if the repositories are
compatibles.


Thank you

_____________________________
COGNICASE - Agence Ouest

Eric Plichon
Ingénieur de Développement Sénior

19, avenue de Mulhouse F-17000 La Rochelle
tél:  +33 (5) 46 41 10 81
fax: +33 (5) 46 41 29 19
e-mail: epli <mailto:braffin at cognicase.fr>  chon
<mailto:braffin at cognicase.fr>  @cognicase.fr <mailto:n at cognicase.fr>

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list