You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Levy <an...@gmail.com> on 2006/03/14 20:19:00 UTC

What to do with obsolete items?

Is there a "recommended" way to remove obsolete items from directories
in one's repository so that they're out of the way for day to day
work?

I have a few small scripts/projects that I'm not using anymore and
want to get out of my working copy  so they aren't cluttering things
up.  How do people normally approach this?

A) Move the directories to another location in the repository (maybe a
/old_projects directory)>?
B) Just svn rm the directories, since the history will be preserved?
C) Other?

I may want these things at some point in the future but right now
they're just sitting around, collecting dust and cluttering my WCs.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: What to do with obsolete items?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 14, 2006, at 21:19, Andy Levy wrote:

> I have a few small scripts/projects that I'm not using anymore and
> want to get out of my working copy  so they aren't cluttering things
> up.  How do people normally approach this?
>
> A) Move the directories to another location in the repository (maybe a
> /old_projects directory)>?
> B) Just svn rm the directories, since the history will be preserved?
> C) Other?

We do this with old release branches of projects. Rather than rm  
them, we move them to an "old" directory. The reason we do anything  
with them at all is to prevent people from unknowingly continuing to  
commit work on the old branch: if they try, they get the somewhat  
cryptic Subversion error message that the path doesn't exist in the  
repository, but everyone now knows that this means that they need to  
switch to a newer branch.

I'm considering doing this for old projects too, not to prevent  
committing to them as above, but just to get them out of the way.

Reason not to just rm them is that it's easier to find if they're  
still there (somewhere) in HEAD: you don't have to go digging through  
logs to find out at which revision they existed if you ever want to  
revive them.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org