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

Re: Please review this dumpfile documentation

From: Eric S. Raymond <esr_at_thyrsus.com>
Date: Tue, 20 Dec 2011 05:02:18 -0500

Daniel Shahaf <danielsh_at_elego.de>:
> Eric S. Raymond wrote on Mon, Dec 19, 2011 at 14:36:27 -0500:
> > 3. In a copyfrom node, is it possible to have a file source and a
> > directory target? Or vice-versa?
>
> In Subversion filesystems, it is not possible to change the kind of
> a node. A node-revision with copyfrom must therefore be of the same
> kind as the node-revision it is a copy of.

The way you explained that is illuminating. Because, there is a
possible interpretation of copyfrom semantics that is content-centered
rather than node centered, in which a copyfrom with file source and
directory target would work the way cp(1) handles that case.

On the other hand, the constraint you describe will simplify my dump
interpreter significantly.
 
> Similarly, when copyfrom isn't present, and the action isn't an add or
> copy, then the kind of the thing identified by (PATH, REVISION) must
> agree with the kind of the thing identified by (PATH, -1+REVISION).
>
> Also, Subversion filesystems do not allow the root directory ("/") to be
> deleted or replaced.

Noted. I'll add these to the draft.

-- 
		Eric S. Raymond
Received on 2011-12-20 11:03:32 CET

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