Daniel Shahaf <[email protected]>:
> 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. 
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Reply via email to