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

Re: Fwd: Re: cleaning up the EOL chaos in an existing repo

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 12 Sep 2008 12:47:31 -0400

Robert P. J. Day wrote:
> (Sorry, I should have replied to the list, not just to David.)
>
> Quoting David Weintraub <qazwart_at_gmail.com>:
>> Another thought: Do an 'svnadmin dump', filter it, then do a "svnadmin
>> load". The dump format is pretty simple, and shouldn't be hard to
>> write a Python or Perl script to do the cleanup (and add the
>> svn:eol-style property while it's at it.)
>
> hmmmm ... i'll give that some thought, it sounds suitably challenging.

Just note that the dumpfile format is not textual, it only appears that
way. In other words, you would not be able to just delete ^M from the
dumpfile and expect it to load again. You would have to use something
like SVN::Dump to walk through the dumpfile and cleanup each file as you
go along.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-12 18:48:05 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.