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

Re: What's the best way to restart a project?

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Fri, 22 Feb 2008 00:15:33 -0600

On Feb 21, 2008, at 23:59, mister bean wrote:

> I am the main committer on a FOSS project that uses Subversion.
> After about
> 20K LoC, we've realized we need to re-architect the whole project.
> We want
> to keep the old code around, but the new version will surely use
> different
> Java packages and so have a different directory structure entirely.
>
> What we want to do is make the current trunk a branch and then
> start a new
> trunk with no files in it. We'll add files as we go. Normally, I
> think one
> would just start a new project, but since this is hosted for us on
> Subversion and we want to keep the rest of the site intact, we
> don't want to
> create a new project.
>
> So, the question is: What's the best way to essentially dead-end
> the current
> trunk, keep it available (presumably as a branch), and then start a
> new
> trunk with no files in it?

Easy! Where $REPO is your repository URL:

svn mv $REPO/trunk $REPO/branches/failed-attempt \
-m "moving failed trunk to a branch for future reference"

svn mkdir $REPO/trunk \
-m "making new empty trunk"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-22 07:16:02 CET

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.