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

Re: What to do with obsolete items?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-15 00:00:08 CET

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
Received on Wed Mar 15 00:01:13 2006

This is an archived mail posted to the Subversion Users mailing list.