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

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 18:15:17 CEST

(Resending a summary to the dev list at the suggestion of Ben Collins-
Sussman.)

Problem:

I have a deleted directory (dir_a) *and* a directory with a prop
change (dir_b). I want to commit both in a single revision without
committing child changes of dir_b.

svn commit --non-recursive dir_a dir_b

returns "Cannot non-recursively commit a directory deletion."

A directory removal, implementation issues aside, feels like a non-
recursive operation anyway, since you are chopping a single node out
of the tree.

The way things are currently written also makes it impossible to lump
related changes together in a single revision.

Thoughts? Entertain the idea of a path to remove the error and just
do the work in this case? (I'm not an expert on the svn source, but
am willing to take a crack at the patch.)

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 18:21:38 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.