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

Re: 0.2 draft of dumpfile documentation

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 15 Dec 2011 12:44:33 +0200

Roderich Schupp wrote on Thu, Dec 15, 2011 at 11:32:40 +0100:
> On Thu, Dec 15, 2011 at 11:14 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > Is this by design or by accident of implementation?
>
> I think the latter. The code is in subversion/libsvn_repos/dump.c starting
> around line 318. Some people might call that an ugly hack :)
>

Yeah. I wonder why that code doesn't render a replace-with-history as
a single "Node-action: replace" "Copyfrom-*: .../" node.

> > svn_delta_editor_t has no concept of 'replace' and must do delete+add
> > instead, but that does not mean that dumpfiles are allowed to do
> > delete+add too!
>
> Then the situation wrt add+delete vs replace is even more weird than I thought.
>
> Cheers, Roderich
Received on 2011-12-15 11:45:17 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.