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

Re: svnsync UTF8 problem

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 10 Oct 2011 08:44:45 +0200

Srdan Dukic wrote on Mon, Oct 10, 2011 at 11:11:08 +1300:
> So, has no one seen this problem before? I guess I'll have to open a bug
> report.
>

No. Rejecting non-utf-8 properties is a common problem. Please don't
open a bug report for it.

(more below)

> --
> Srdan Dukic
>
> On 5 October 2011 11:38, Srdan Dukic <srdan.dukic_at_gmail.com> wrote:
>
> > Hi,
> >
> > I'm using svnsync to mirror a repository and am doing the initial
> > synchronization, when I get the following error:
> >
> > Transmitting file data .svnsync: At least one property change failed;
> > repository is unchanged
> > svnsync: Error setting property 'log':
> > Could not execute PROPPATCH.Error setting property 'author':
> > Attempted DAV:set operation could not be completed due to other
> > errors.Error setting property 'date':
> > Attempted DAV:set operation could not be completed due to other errors.
> >
> > On the mirror side, I get the following from the Apache logs:
> >
> > [Wed Oct 05 09:46:47 2011] [error] [client 192.168.1.11] Could not execute
> > PROPPATCH. [500, #206]
> > [Wed Oct 05 09:46:47 2011] [error] [client 192.168.1.11] Cannot accept
> > 'svn:log' property because it is not encoded in UTF-8 [500, #125005]
> > [Wed Oct 05 09:46:47 2011] [error] [client 192.168.1.11] Attempted DAV:set
> > operation could not be completed due to other errors. [424, #0]
> > [Wed Oct 05 09:46:47 2011] [error] [client 192.168.1.11] Attempted DAV:set
> > operation could not be completed due to other errors. [424, #0]
> >
> > I've tried converting the 'svn:log' property to UTF8 and syncing as
> > described at:
> >
> >
> > https://help.codesion.com/View.jsp?title=How-to-Deal-with-Svn-Backups-Failing-Due-to-UTF8-Error&procId=fc29d38015b4321e01b645a2e02ae5e9
> >
> > but still end up getting the same error. I've also tried deleting the
> > 'svn:log' property altogether using 'propdel', but to my surprise, I still
> > get the same error.
> >

Odd. Perhaps some other revision property of that revision contains non-UTF-8?

> > The actual value of the svn:log property is:
> >
> > "When printing a form through the full task list the client's TEF number
> > has <B> and </B> beside it (for cds)."
> >
> > Which doesn't have any characters that should need any UTF8 handling.
> >

svn propget --revprop -rN --strict svn:log | xxd

> > Has anyone else had this problem? If so, how did you solve it?
> >

svnsync sync --source-prop-encoding

> > The version of both of the subversion source and mirror are 1.6.11 and the
> > command line tools are also this version.
> >
> > Thank you
> > --
> > Srdan Dukic
> >
Received on 2011-10-10 08:45:35 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.