Jump to content

CVS question - this is driving me mad!


Recommended Posts

OK - I've pretty much got CVS figured out , except for one very key question:

 

How do you switch you working directory between branches and the main tree? Once I've switched to a branch the only way I can get back to the main branch is to delete my working directory and re-check it out.

 

I'm sure there is an easier way than this. Simply re-checking out without first deleting does not seem to make a difference

 

Someon please help!

Link to comment
Share on other sites

I've started to learn howto use cvs last week when I moved my website to a cvs system (just for fun). So I guess that my input here wont be helpful, so please wait for the input of someone else who uses cvs in daily basis ;)

 

Meanwhile you can check the related info node (accessing cvs branches):

~$ info --index-search=accessing cvs

 

for what says it, seems that you don't need to delete your working directory in order to switch between branches

 

HTH

Link to comment
Share on other sites

Meanwhile you can check the related info node (accessing cvs branches):

~$ info --index-search=accessing cvs

 

HTH

 

This is exactly the same as the CVS docs - I have this section printed out and sitting next to me - I've been reading and re-reading this.

 

  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.

 

Unfortunately - I can't figure out how to "tell it otherwise"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...