[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 20:03:39 CEST

On Jul 26, 2005, at 2:00 PM, John Peacock wrote:

> Jim Correia wrote:
>> 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.)
> I don't understand. Are you saying --non-recursive on a named
> target that happens to be a directory should delete the directory
> recursively?

Yes, because it is the only thing that makes sense (because, as you
mention, doing otherwise would leave the children inaccessible.)

Reporting an error, as is done today, isn't terribly useful if you
need to include other non-recursive commits in the same revision (for
example committing a propchange on another directory which has
modified children in the working copy.)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 26 20:06:46 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.