subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Editing svn:log property on file
Date Tue, 30 Oct 2012 04:04:48 GMT
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@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.)
> >

Mime
View raw message