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

Re: Issue #4476 - Mergeinfo containing r0 makes svnsync and svnadmin dump fail

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 17 Dec 2014 16:22:47 +0100

On 17.12.2014 15:52, Julian Foad wrote:
> I (Julian Foad) wrote on 4th December:
>> Julian Foad wrote:
>>> ... 'svnsync' ... my current thought is it
>>> should 'correct' the mergeinfo by removing the r0 reference.
>> I have written a test for this, and hacked up code to do this by textual
>> substitution. It isn't quite right -- for example it would go wrong if a
>> path contained the character sequence ":0", among other issues. I
>> ought to rewrite it in the form of a proper mergeinfo parser but one that is
>> more lenient than the regular parser.
> In http://svn.apache.org/r1646250 I committed a version that also works by textual substitution, but (hopefully) without the above-mentioned issues. This makes svnsync remove r0 references before trying to
> commit.

Does this mean that a dump/load or sync from a repository with r0 in
mergeinfo will not create a new repository with identical contents?

-- Brane
Received on 2014-12-17 16:24:04 CET

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.