Questions about cvs2svn should generally be posted to
users@cvs2svn.tigris.org.
scirocco paptimus wrote:
> I would like to shift from CVS to Subversion on windows.
>
> The change set by cvs2svn.py(2.0.0) is always LF. then, even if it
> on windows, native eol-style becomes LF.
> If the repository by svn.exe is done in 'svnadmin dump', it becomes
> CR/LF.
> It was not good only to convert the output of cvs2svn.py into CR/LF,
> It was necessary to correct the size of 'Prop-content-length', and
> more.
>
> Isn't there solving this problem?
>
> Though it is thought it is inconsiderate if it is always option
> addition:
> svn diff -x --ignore-eol-style xxx
>
> If this can be solved, I think that I can shift to Subversion.
Did you read the cvs2svn FAQ [1] about dealing with line endings?
The correct answer depends on whether you have marked your files
correctly as text vs binary in CVS. If yes, then you can use
--default-style=native.
If not, then there are a whole bunch of cvs2svn options that you can use
to fix things up during the conversion.
Normally for text files, one prefers native line endings. This means
that when the file is checked out under Windows you get CRLF; when
checked out under linux you get LF. Files with svn:eol-style=native are
stored in the SVN repository using canonical line endings, namely LF,
and translated upon checkout.
Michael
[1] http://cvs2svn.tigris.org/faq.html#eol-fixup
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 11 15:36:04 2007