CVS switch branch?

Maybe I'm daft, but I can't see how to do this - it's not something I've needed to do before. My team leader has created a new branch of the code, how do I tell IDEA I want to use it?

Thanks in advance...

4 comments
Comment actions Permalink
  • Invoke "Update Project"

  • in the dialog that appears select "Use Version: By tag" and enter the branch's name


Or check out a fresh copy - unfortunately Idea does not support checking out a specific
branch yet (Jira issue exists). So just check out from command line: "cvs co -r ]]> your-files"

Colin Fleming schrieb:

Maybe I'm daft, but I can't see how to do this - it's not something I've needed to do before. My team leader has created a new branch of the code, how do I tell IDEA I want to use it?

Thanks in advance...

0
Comment actions Permalink

Cheers, thanks for the reply! I'm not too familiar with CVS either, unbelievably this is the first project I've used it on. The branch stuff seems a bit fiddly to use, is it possible to have separate modules, each synced with a different branch? For maintaining multiple versions of a codebase this seems like it would be pretty fundamental.

0
Comment actions Permalink

Stephen Kelvin wrote:

Or check out a fresh copy - unfortunately Idea does not support checking
out a specific
branch yet (Jira issue exists). So just check out from command line:
"cvs co -r <branch> your-files"


Just define a CVS root with the branch and use that in File->Check Out
from Repository.

Ciao,
ordon

--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0
Comment actions Permalink

If you're on Windows, it's worth investigating TortoiseCVS to help, too.

0

Please sign in to leave a comment.