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

Re: Editing svn:log property on file

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 30 Oct 2012 06:04:48 +0200

Srdan Dukic wrote on Tue, Oct 30, 2012 at 16:58:01 +1300:
> Checked it by examining the contents of the dump file (cat [dumpfile]).
> Where I expected to see:
>
> client?\146s
>

Wrong expectation, dump files never include this syntax.

> I instead got:
>
> client?s
>

This doesn't say whether it was a literal question mark (0x3F) in the
file or not.

> Then, after copying it over to the slave and running "load", without the
> "--bypass-prop-validation" flag, the dump is loaded without any errors
> complaining about the encoding of the properties.
>
> --
> Srdan Dukic
>
> On 30 October 2012 16:51, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
>
> > Srdan Dukic wrote on Tue, Oct 30, 2012 at 16:45:36 +1300:
> > > Thanks for that. Using svnadmin "dump" and then "load" worked.
> > >
> > > I didn't even have to pass the "--bypass-prop-validation" option to the
> > > load command, as it seems the non-UTF8 symbols were converted to a "?" by
> > > the dump command.
> >
> > How are you checking that? The 'dump' command doesn't know about UTF-8
> > requirements for property values; it should preserve arbitrary byte
> > sequences. (In other words, the output of 'propget --strict | xxd'
> > should be identical between master and slave.)
> >
Received on 2012-10-30 05:05:26 CET

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.