[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: mister bean <abinstock_at_pacificdataworks.com>
Date: Thu, 21 Feb 2008 22:36:19 -0800 (PST)

Wonderful. Thank you. I couldn't find this info anywhere, possibly because I
didn't quite know where to look beyond branches. Much appreciated!
---mr.bean

Ryan Schmidt-32 wrote:
>
> 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
>
>
>

-- 
View this message in context: http://www.nabble.com/What%27s-the-best-way-to-restart-a-project--tp15628231p15628583.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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:36:39 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.