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

Re: svn commit --non-recursive dir_path gives error "Cannot non-recursively commit a directory deletion"

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2005-07-26 19:44:39 CEST

On Jul 26, 2005, at 1:33 PM, Christopher Ness wrote:

>> A directory removal, implementation issues aside, feels like a non-
>> recursive operation anyway, since you are chopping a single node out
>> of the tree.
>>
>
> Why does it feel that way? What if there are nodes that live
> within the
> directory you wish to remove?

That's my point exactly. Given

dir1
     file1
     file2
     dir2
         file3

You cannot remove dir1 without also removing all of the children, so
removing the directory with the --non-recursive flag shouldn't try to
have special meaning, and should just remove the directory (and apply
the special semantics to operations like commit for which recursing
into the directory does make sense.)

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 26 19:48:35 2005

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.