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

Re: How Subversion drove me to shoot myself in the foot.

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2006-04-19 15:39:18 CEST
('binary' encoding is not supported, stored as-is) Fabian Cenedese <Cenedese@indel.ch> wrote:

> The problem in
> this case is that svn delete (without --force) didn't work in the first place
> as opposite action to svn add.

I disagree, and I'll repeat my earlier suggestion, which no-one seems to have picked up on yet:

"svn delete" shouldn't be trying to be the opposite of "svn add", it should by trying to be the same as a normal "rm" (or "del"), plus updating the Subversion data as necessary to record what it has done. "svn delete" should *always* delete the file in the working copy, and there should be no doubt in anyone's mind that it is going to do so since a "golden rule" should be that "svn XYZ" does the same as the OS XYZ command plus updating the Subversion data.

Reversing an add is not the same as deleting a file; it could perhaps be "svn subtract", "svn release", or something.

Thoughts?

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 19 13:40:05 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.