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

Re: Issue 3895, rejecting invalid svn:mergeinfo on commit

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 11 Jul 2011 14:13:46 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> We should allow invalid mergeinfo to exit the repository, e.g. in a dump
> file. But input paths, such as svnadmin load, should refuse invalid mergeinfo.

We have a similar problem with invalid svn:log (non-LF line-ends). In
that case load fails with an error but sync corrects the value and
completes the load. Simply refusing to sync was deemed insufficient.

> Maybe we should provide a way to fix invalid mergeinfo in dump files.
> One existing but no officially supported method is svndumptool
> http://svn.borg.ch/svndumptool/

I've never used it, but I suppose it would work. Is that a good enough
solution? Invalid mergeinfo is harder to fix than an invalid log
message, because the validity rules are much more complex. Do we advise
users to delete it? To analyse the failure and tweak it to be valid?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-07-11 15:14:23 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.