Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-25-2008, 08:01 PM   #1
LQ Newbie
Registered: May 2008
Posts: 4

Rep: Reputation: 0
CVS Question - Checkout a specific branch?

I'm trying to figure out a few small details regarding our CVS repository and how to properly check out and in the branch that I'm working on. I'll explain what I've done and what I understand so far, but if I make any mistakes, please let me know where I've strayed.

We've got a main repository for our program, let's call it "Blah". After logging into the CVS server, I can check that out and in by running:
cvs co Blah
This creates a directory locally called Blah that contains all the source files. I then created a tag for the base, or trunk as some people call it.
cvs tag Blah-BASE
Afterwards, I created a branch tag using the following:
cvs tag -r Blah-BRANCH
Now... here's where my confusion comes in. What happens tomorrow when I go back to all this and re-login to the CVS server? As far as I know, I can't 'cvs co' the branch name, so what exactly do I get if I repeat the first step above? Is there a way for me to specify that I want to check out just Blah-BRANCH?

I'm slightly confused on all this tagging. I can see the various tags on a file if I run 'cvs stat filename', but I'm not sure how I can ensure that I'm working on a specific branch.

Any and all help is appreciated.
Old 06-25-2008, 08:06 PM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Tags are just names; each is associated with a particular revision. You can check out any revision by version number, tag, timestamp, etc.

What is failing? What is happening?


cvs, development, repository, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a branch in CVS aarajthomas Linux - Software 0 04-05-2007 05:57 AM
Problems with lineseparator when doing cvs checkout. noware Linux - Software 3 06-02-2006 03:31 AM
CVS: checkout and module name pacionet Linux - Software 1 05-11-2006 09:19 AM
cvs checkout on slackware 8.1 rolandp Linux - Software 1 06-30-2005 12:20 AM
CVS produces read-only files on checkout gepesz Linux - Software 1 07-01-2004 03:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration