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

Re: [PATCH] allow svnsync to translate non-UTF-8 log messages to UTF-8

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 13 Sep 2010 13:04:22 +0200

Stefan Sperling wrote on Mon, Sep 13, 2010 at 12:16:44 +0200:
> Having a similar reporting feature in "svnadmin verify", and ways to
> fix these problems with "svndumpfilter" or maybe even "svnadmin recover"
> wouldn't hurt either.

The verify functionality is part of the FS layer; but the FS layer
doesn't treat svn:* props specially --- the requirement for UTF-8/LF is
only introduced at the libsvn_repos layer (e.g., validate_prop() in
fs-wrap.c is where it's enforced). So there are some layering/design
issues here.

Daniel
(compare path_valid() in fs_loader.c, which enforces an FS-level
requirement)
Received on 2010-09-13 13:08:43 CEST

This is an archived mail posted to the Subversion Dev mailing list.