[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 17:33:32 +0300

Fri, 22 Apr 2011 16:21:39 +0300, /Daniel Shahaf/:

> So I'd go for svnsync; it has access to the full 'original' history,
> which 'svnadmin load' hasn't. It should be possible to patch svnsync
> into generating the correct text-deltas for files whose properties have
> been mangled --- for example, if you've set a property to 'native', then
> have svnsync compute not the text delta between rN-1 and rN, but between
> convert_to_LF(rN-1) and convert_to_LF(rN).
>
> There may well be a simpler solution that I'm overlooking.

Unfortunately I lack enough skill to build svnsync from sources
myself, and I couldn't patch it. I could eventually operate on the
'svnadmin dump' output, modifying it as such that loading it anew
would result in the necessary correction. So I've wondered if
anyone has done something similar, already.

-- 
Stanimir
Received on 2011-04-22 16:33:58 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.