[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:14:57 +0200

roderich.schupp_at_googlemail.com wrote on Thu, Dec 15, 2011 at 01:33:22 -0800:
> Thus a dump consumer can simply store the node records (in one
> revision) as a hash (associative array) with Node-path as the key. The
> only excption is that it must be prepared to "upgrade" a "delete" to
> a "replace" if it encounters an "add" for the same Node-path. Any
> other combination of actions on the same Node-path is a malformed
> dump.

Is this by design or by accident of implementation?

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!
Received on 2011-12-15 11:15:55 CET

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