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?
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?
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.
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
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:
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.
Stephen Kelvin wrote:
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
If you're on Windows, it's worth investigating TortoiseCVS to help, too.