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

Re: Removing non-committed files?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-06-03 21:35:04 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> But when removing an added file, you'd get a different error
>
> % svn rm my-file
> svn_error: #21XXX : <blah blah blah>
> `my-file' is scheduled for addition; to remove it, use
> `svn revert' to unschedule
>
> svn_error: #21XXX : <blah blah blah>
> 'my-file' is scheduled for addition
>
> That way Subversion say what it really means.
>
> Thoughts?

It's not clear that that 'svn revert' is the "correct" thing to
suggest. Running 'svn revert' will cancel the scheduling for addition
but will not remove the unversioned item. As far as I can see
deleting the item by using '--force' is just as likely to be what the
user wanted.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 3 21:35:29 2002

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.