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

[Subclipse-users] Re: How Subversion drove me to shoot myself in the foot.

From: Andrew Goodnough <Andrew.Goodnough_at_wicourts.gov>
Date: 2006-04-19 16:27:18 CEST

>>> On Wed, Apr 19, 2006 at 7:42 am, in message
<44463041.9060201@stats.uwo.ca>,
Duncan Murdoch <murdoch@stats.uwo.ca> wrote:
> Ryan Schmidt's suggestion to change the complaint sounds like the
best
> solution to me:
>
>> "You cannot 'svn delete foo' because foo is not yet in the
>> repository. If you want to revert the scheduled addition of foo, use
 
>> 'svn revert foo'."

Stopping the delete operation along with the error message gets my
vote.

I initially liked the proposed 'svn subtract' command but realized that
the add operation puts you in the context of a transaction in SVN.
You've asked SVN to manage the files, you now need to rollback the
transaction. The add is part of the trans, and the way to rollback a
transaction is to revert. You're not reversing the add, you're
reversing the trans. That's why 'add' shouldn't get it's own 'subtract'
command.

Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Apr 19 16:29:24 2006

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

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