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

Re: Deleting an Added (but not committed) Tree

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-11 19:25:03 CEST

Nuutti Kotivuori <naked@iki.fi> writes:

> > $ svnadmin create test
> > $ svn co file://`pwd`/test test-work
> > $ cd test-work
> > $ svn mkdir a a/b
> > $ svn rm --force a
> > subversion/libsvn_wc/lock.c:348: (apr 21045, src 0)
> > svn: Working copy not locked
> > svn: directory not locked (a/b)

That was a path handling bug.

> Just a note - to undo a scheduled, but not yet committed add - one
> should use 'svn revert'.

That depends on what you want. If you want the item to remain, but to
be unversioned, then use revert. If you want the item to disappear
then use delete.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 11 19:25:45 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.