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

Re: svn EOL

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-09-01 14:15:33 CEST

On Mon, Sep 01, 2003 at 01:39:44PM +0200, Timothee Besset wrote:
> On Mon, 01 Sep 2003 12:24:59 +0100
> Julian Foad <julianfoad@btopenworld.com> wrote:
> > What you want isn't unreasonable. You want to say something like
> > "All of MY files should have Native EOL style." I would support a
> > patch that provides a convenient way of controlling the default EOL
> > style.
> >
> Sadly, this is the way it *used* to work. The native eols would be
> carried over on each operating system you checkout to. With current
> version of svn .. well we had to write a script to scan for text files
> and issue svn propset svn:eol native everywhere.
> When it is a repository with a bunch of branches that you just
> converted from CVS, you need to run that script on all branches ..
> plus, if you fetch older revs, you'll still be in bad karma eol-land
> ;-)

It sounds like the solution to your problem then is to change your
script so that it modifies the dump file instead. It could just add the
appropriate svn:eol-style props to the first revision of every file that
needs it and you won't have to worry about older versions not having the
prop set.

Michael Wood <mwood@its.uct.ac.za>
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 1 14:16:54 2003

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.