[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cvs2svn on windows

From: scirocco paptimus <paptimusx_at_gmail.com>
Date: 2007-09-12 05:03:00 CEST

Thank you for the answer.

I know eol-style option.
 (cvs2svn.py --default-eol=CRLF or svn:eol-style property)

The problem is different.
cvs2cl.py dumps the change set that always assumes LF. However, when
I do svnadmin dump on Windows, the change set becomes CR/LF. both are
different.

Next, I edits a file and the check-in is done. then, It changes into
CR/LF. you can recognize that the line terminator of the file under
.svn is CR/LF too. (ex: .svn\text-base\readme.txt.svn-base)

---
% python cvs2svn --default-eol=CRLF --dumpfile=070911.dump ./cvsroot.wk/src
% svnadmin create repo
% call cat 070911.dump | svnadmin load --parent-dir src.070911 repo
% svn co repo wk
% cd wk
% vim readme.txt
 (one line was added to the head)
% svn diff readme.txt
then
% svn diff -x --ignore-eol-style readme.txt
 => diffrence in one line
% svn diff                       readme.txt
 => differnce in all lines
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 12 04:59:47 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.