[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: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2006-04-18 19:27:21 CEST

On 18-Apr-06, at 12:50 PM, Kevin Galligan wrote:

> I think the contention was that 'svn delete' would not delete the
> actual files from the directory...
>
> "the book reassured me quite nicely that "svn delete" never
> actually deletes anything"
>
> which is, of course, not true...
>
> "Items specified by PATH are scheduled for deletion upon the next
> commit. *Files (and directories that have not been committed) are
> immediately removed from the working copy.* The command will not
> remove any unversioned or modified items; use the --force switch to
> override this behavior."
>

Does anyone else think that the strategy of immediately removing
(deleting) files that are added but not committed is not consistent
with the idea that svn delete will not remove unversioned or modified
items?

I think it makes more sense for "svn delete" to behave like "svn
revert" in the case of added but not committed files, because
obviously it is an operation that WILL lose unversioned data.

Scott
Received on Tue Apr 18 19:32:47 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.