> -----Original Message-----
> From: Markus Schaber [mailto:[email protected]]
> Sent: vrijdag 29 juli 2011 8:15
> To: Stefan Sperling; [email protected]
> Subject: AW: no error message if committing child of a deleted node
> 
> Hi, Stefan,
> 
> Von: Stefan Sperling [mailto:[email protected]]
> 
> > 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

Reply via email to