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

Re: 1.6 svn: prop eol-style strictness: breaking svnsync and subclipse

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sat, 4 Apr 2009 22:21:40 +0200

On Tue, Mar 31, 2009 at 10:11, B Smith-Mannschott <bsmith.occs_at_gmail.com> wrote:

> The other option, I see is to have svn 1.6 remain as it is, while
> teaching svnadmin load to understand
> --normalize-svn-property-eol-style so that old commits don't kill
> svnsync. (alternately teach this to svndumpfilter).

I dusted off my "Subversion Revisionist" from the great repository
migration of 2007 and discovered that I had already implemented
eol-style normalization for properties there. (Apparently Subclipse on
Windows had been giving us mixed eol-style trouble even back then.)

    revisionist-fixprops.py -p "svn:*" -n < old.dump > new.dump

This does the trick if you're using at least 1.0.1 (which added
globbing in property names).

It's here, if anyone's interested: http://github.com/bpsm/svn-revisionist/

// Ben

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1545694
Received on 2009-04-04 22:21:55 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.