[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re-assigning Head...
From: |
Larry Jones |
Subject: |
Re: Re-assigning Head... |
Date: |
Mon, 2 Oct 2006 15:38:39 -0400 (EDT) |
Stanley Shivell writes:
>
> Is there anyway to "Re-assign" the Head of tree in a repository.
Not really.
> Example: Say we just spent 3 years developing code on head and making
> branches here and there off of head... and then all of a sudden... we
> decided that we want to move the "Head" of tree onto a Production Release
> branch that is a branch off of a branch off of a branch from like 3 years
> ago.
What you can do instead is to move the desired stuff to the trunk with a
merge:
cvs up -jHEAD -jPROD_BRANCH
cvs ci -m'Replace HEAD with PROD_BRANCH'
You may want to create a new branch before you do that in case you
decide you want to continue development of what used to be the head of
the trunk.
-Larry Jones
In short, open revolt and exile is the only hope for change? -- Calvin