[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning a branch into a new branch
From: |
Richard Cobbe |
Subject: |
Re: Turning a branch into a new branch |
Date: |
Sat, 3 Feb 2001 09:25:53 -0600 (CST) |
Lo, on Saturday, February 3, Dorthe Luebbert did write:
> Hi,
>
> I have the following scenario:
>
> 1. I checked out branch VERSION-A
> 2. I modified some files locally
> 3. I want to create from the these files VERSION-B
>
> CVS asks me to commit the modified files first. But I would commit them
> to VERSION-A, though they should not exist in VERSION A.
>
> Any ideas?
Ideally, you would have branched before you made your local modifications.
All is not lost, however; if you branch now, it will root the branch at the
most recent *committed* revisions, which will not include your local
modifications. Then, simply make sure that your working copy is on the
branch, then commit, and off you go.
Richard