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)

Daniel

> style of files, by initializing their svn:eol-style property in
> their first revision according to the [auto-props] section [2], and
> then correcting the EOL style in their content according to the
> svn:eol-style value?  I've googled a bit but couldn't find any such.
> 
> [1] <http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.dump.html>, 
> <http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering>
> [2] 
> <http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.config>
> 
> -- 
> Stanimir

Reply via email to