tags:

views:

2223

answers:

2

How do I replace the HEAD of a CVS repository with a branch?

+8  A: 

Check out this page, which has a pretty easy to follow walk through of branching and merging in CVS

http://kb.wisc.edu/middleware/page.php?id=4087

It also includes an example of replacing HEAD with a specified branch

Replacing One Branch With Another

Tag the end of your branch

cvs tag merge_NEW_BRANCH

Switch back to the branch you're replacing

To head:

cvs up -A

To branch:

cvs up -r OLD_BRANCH

Do the replace:

Replace head

cvs up -jHEAD -j NEW_BRANCH

Replace branch

cvs up -jOLD_BRANCH -j NEW_BRANCH

Commit changes and tag if you need to.

Andrew Burgess