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

Re: remove a checked out directory

From: jerome jansou <jjusenet_at_yahoo.fr>
Date: 2005-10-20 12:06:10 CEST

Thanks Ryan for your answer,

I would like to process as you suggest, but It's hard.
I have many projects under the same svn repository,
and I ofen update the whole thing from top level, so
an update would re-create the deleted directory.
Additionaly, I have subdirectories for different
architectures in each project sometimes 5 levels under
the project. I neither need then nor want them all
(because of a poor disk space concern, i concede, but
mainly because I do not want to deliver everything to
my final client).
So this CVS way of customising by hand the directories
I do not want to keep allow me to get a kind of
"clearcase" view (snapshot like of course).
The main idea is that it's easier to remove what I do
not want than making a full list of what I want and
checkout this list.
How dangerous is it to edit this Entries file ?
Maybe I had to quit this addiction... ;-)

--- Ryan Schmidt <subversion-2005@ryandesign.com> a
écrit :

> On Oct 20, 2005, at 11:30, jerome jansou wrote:
>
> > 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.
>
> You should not edit anything in the .svn
> directories.
>
>
> You should check out only the part of the repository
> you want.
>
> svn checkout svn://host/proj/v2.0_beta
>
>
> When you need to fix a bug in 1.2:
>
> svn checkout svn://host/proj/v1.2_patch9
>
> When you're done fixing the bug in 1.2, you can
> remove the 1.2
> working copy if local hard drive space is of
> concern.
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>

        

        
                
___________________________________________________________________________
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 12:08:49 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.