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

Re: 0.6 draft of dumpfile documentation

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 23 Dec 2011 23:27:48 +0200

Eric S. Raymond wrote on Fri, Dec 23, 2011 at 15:20:16 -0500:
> 2. In interpreting a Node record which has both a copyfrom source and
> a property section, it is possible that the copy source node itself
> has a property section. How are they to be combined?
>

"The copy source node" is dereferenced into the filesystem, not into the
dupmfile. (It may not even be in the dumpfile, if -r was used.)
Therefore, it's relevant not whether a proplist section is present, but
whether the corresponding node-rev in the filesystem the dump is being
applied to has properties.

Next, the answer should be the same for the copyfrom case as it is for
the svn_fs_path_change_modify case. And it will depend, at least, on
whether a proplist is present for the node in the dumpfile (no proplist
=> no change) and on whether a Prop-delta: header is present (whether
the new proplist patches or replaces the preexisting proplist).

That's my understanding, at least.
Received on 2011-12-23 22:29:25 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.