> -----Original Message-----
> From: Markus Schaber [mailto:m.schaber_at_3s-software.com]
> Sent: vrijdag 29 juli 2011 8:15
> To: Stefan Sperling; dev_at_subversion.apache.org
> Subject: AW: no error message if committing child of a deleted node
>
> Hi, Stefan,
>
> Von: Stefan Sperling [mailto:stsp_at_elego.de]
>
> > When trying to commit a child of a deleted node, svn commit says nothing
> > and just exists with status zero.
> >
> > This surprised me, because it complains loudly about committing children
> > of copies (see http://svn.haxx.se/dev/archive-2011-07/0773.shtml).
> > Shouldn't we raise some sort of error for the delete case, too?
>
> For me, this is not as surprising. Chidren of deleted nodes are also
deleted.
> And it perfectly makes sense for the server to get the deletion of the
child
> without getting the deletion of the parent.
>
> But getting the addition of a copied child without getting its (not-yet
existing)
> parent is a completely different thing.
For the commit processor the child of a delete is a simple unmodified node
as we only have to commit the root of a deletion.
(We can't just commit some child of a deletion as that might have a
completely different result as deleting a child node, in case you deleted a
tree with switched paths)
Bert
Received on 2011-07-29 09:21:44 CEST