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

Re: cvs2svn and eol style

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-03-22 14:45:36 CET

[Crossposted to: users@subversion, users@cvs2svn
PLEASE FOLLOW UP TO users@cvs2svn ONLY.]

Nicklas Norling wrote:
> Hi all.
>
> I have a cvs repo filled with code developed with VS .NET on windows
> plattforms.
> We use only windows as development platform.
> I use the latest rpm for cvs2svn and subversion (1.0.1) and convert a cvs
> backup
> to a subversion file that I later "svnadmin load" into my newly created
svn
> repo.
>
> As it turns out all the source code, and any other text file, has unix
line
> endings.
>
> After searching in the mail archives and reading the svn book it is still
> foggy to me
> how this is supposed to work.
>
> Do I have to do anything special during the conversion or why do windows
> platforms
> get the wrong line endings after the migration?
>
> Both cvs and subversion are housed on the same linux server.
>
> /Nicke

The problem is that source files really need the svn:eol-style property set
to native on them, but cvs2svn currently doesn't do this, so the line
endings remain in unix form.

Stefan Haller posted a useful patch to dev@cvs2svn recently, which I hope to
have the time to review and integrate shortly.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 22 14:47:38 2004

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.