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

Re: dump 1.4 -> load 1.6 sync fail svn:ignore

From: John Waycott <javajohn_at_cox.net>
Date: Fri, 5 Jun 2009 06:27:14 -0700

On Jun 4, 2009, at 4:52 PM, Andersen, Krista wrote:

> I have a Subversion 1.4 repository on a Linux machine. I have
> created a dumpfile and loaded it to a repository on our main server
> (Sparc Solaris 10, Subversion 1.6). This was successful.
>
> This new repository has a hook script to sync to another write-
> through-proxy mirror (also on Sparc Solaris 10, Subversion 1.6)
>
> The sync fails on rev 24 every time I attempt to sync.
>
> Error:
> Transmitting file
> data
> ..............................................................................
> Committed revision 24.
> Copied properties for revision 24.
> svnsync: At least one property change failed; repository is unchanged
> svnsync: Error setting property 'ignore':
> Could not execute PROPPATCH.
> Finished
>
> Error-log:
> [Wed Jun 03 10:34:20 2009] [error] [client 10.0.100.127] Could not
> execute PROPPATCH. [500, #206]
> [Wed Jun 03 10:34:20 2009] [error] [client 10.0.100.127] Cannot
> accept non-LF line endings in 'svn:ignore' property [500, #125005]
>
> NOTE: I did a test migration of this repository a few months ago
> that did not cause any sync errors. We were using Subversion 1.5 at
> that time.
>
>
> How to I track down the svn:ignore property that is causing this
> error in the (successfully loaded) master repository so that I can
> edit out the offending EOL?
>
> Thanks,
> Krista

The problem is most likely the EOL bug in svn:log entries. SVN 1.6
does not accept carraige returns in svn:log entries.

Here's a python script that you can run against the original 1.4
repository to fix it. Once that is done you will be able to sync. The
bug is fixed in 1.6.3, but that is not available yet, so I had to
write this so we could move forward with our upgrade.

-- John Waycott

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359707

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-05 15:28:34 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.