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

Re: Dump filter correcting EOL style

From: Stanimir Stamenkov <s7an10_at_netscape.net>
Date: Fri, 22 Apr 2011 15:59:17 +0300

Fri, 22 Apr 2011 15:29:04 +0300, /Daniel Shahaf/:
> Stanimir Stamenkov wrote on Fri, Apr 22, 2011 at 14:36:53 +0300:
>> Is anyone aware of repository dump filter [1] which corrects the EOL
> Not me, but sounds like a one-off patch (to the "Create a new file"
> logics of 'load' or 'svnsync') could do this pretty easily.
> (Insert here quote about, given a hammer, viewing every problem as a nail.)
> As you may know: if a file has uniform line endings, svn canonicalizes
> them when the property is set. (though I don't remember if that's done
> on the server-side too, or only on the client side)

Yep, I'm aware of this, but then I aim at correcting the history
when svn:eol-style property has not been properly set already with
adding the file(s), which becomes a problem (or at least not small
inconvenience) when the file has been initially created on Windows
with non-repository-native EOL style, or just the EOL style has been
inadvertently changed before the svn:eol-style gets properly set.
This situation is caused by user ignorance one cannot always
control. Commit hooks can help but they are not part of the default
setup, also.

Received on 2011-04-22 14:59:48 CEST

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.