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

Re: svnsync failure when syncing with a repository that used ISO-8859-1 for log messages

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 9 Sep 2010 01:58:21 +0300

Can you propedit the property in the repository you're syncing from?

Failing that, see normalize_string() in subversion/svnsync/sync.c.

Daniel Trebbien wrote on Wed, Sep 08, 2010 at 22:25:11 +0000:
> I am attempting to use `svnsync` to create a local mirror of
> `svn://svn.sv.gnu.org/nano`, but every time it fails at revision 619
> (http://svn.savannah.gnu.org/viewvc?view=rev&root=nano&revision=619):
> ...
> Copied properties for revision 617.
> Transmitting file data ...
> Committed revision 618.
> Copied properties for revision 618.
> svnsync: Error while replaying commit
>
>
> The problem is that the log message for revision 619, 'Added Galician
> translation by Jacobo Tarrío', was encoded in ISO-8859-1, and this is an illegal
> UTF-8 byte sequence starting at the accented 'i'.
>
> I attempted to set `log-encoding = ISO-8859-1` in my `~/.subversion/config`,
> but this did not work. Moreover, looking through the source of `svnsync`, I
> do not immediately see how to fix this problem. How do I tell `svnsync` to treat
> the log messages from the repository as ISO-8859-1-encoded strings rather than
> UTF-8-encoded strings?
>
Received on 2010-09-09 01:02:14 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.