Forum OpenACS Q&A: Response to Getting ready for beta - tagging and branching CVS

That sounds like a winner to me, Don. Rarin' to go!! And yeah, the -r flag for updating sounds familiar to me...but it's been awhile since I've done bugfixes on a branch. I'll go back and reread as well.

Hmmm...from Cederqvist online (

" 5.3 Accessing branches

You can retrieve a branch in one of two ways: by checking it out fresh from the repository, or by switching an existing working copy over to the branch.

To check out a branch from the repository, invoke `checkout' with the `-r' flag, followed by the tag name of the branch (see section 5.2 Creating a branch):

  $ cvs checkout -r rel-1-0-patches tc

Or, if you already have a working copy, you can switch it to a given branch with `update -r':

  $ cvs update -r rel-1-0-patches tc

or equivalently:

  $ cd tc

$ cvs update -r rel-1-0-patches

It does not matter if the working copy was originally on the main trunk or on some other branch -- the above command will switch it to the named branch. And similarly to a regular `update' command, `update -r' merges any changes you have made, notifying you of conflicts where they occur.

Once you have a working copy tied to a particular branch, it remains there until you tell it otherwise. This means that changes checked in from the working copy will add new revisions on that branch, while leaving the main trunk and other branches unaffected.