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

remove a checked out directory

From: jerome jansou <jjusenet_at_yahoo.fr>
Date: 2005-10-20 11:30:39 CEST


My question is "how to remove a directory previously
created by a checkout from my working directory ?"

A concrete example :

svn checkout svn://host/proj/

proj contains 2 directories :
- v2.0_beta
- v1.2_patch9

I'm currently working on the 2.0_beta version.
I need to fix a bug i my 1.2_patch9 version, I test it
and release it, then I do not want to use anymore the
1.2_patch9 version, so I want to remove it from my
harddrive without altering anything in the repository.
If I just do a "rm -rf", a further update at top level
will bring it back.

Up to now, I used to first remove the "not wanted
anymore" directory from my development space with a
"rm -rf", then editing the read-only file .svn/entries
in the parent of the "not wanted anymore" directory,
to supress the reference to this directory (well it
looks like cvs...)

"svn delete" does not seem satisfactory because I
cannot risk a further commit some time later who would
really alter the repository.

Any idea ?


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
TÚlÚchargez cette version sur http://fr.messenger.yahoo.com

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 20 11:34:18 2005

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.