Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

specifying tags for the checkout

Status
Not open for further replies.

benkunz

Programmer
Jan 7, 2005
4
LU
Hi,

here is my problem. let's say I had 4 files (a,b,c,d) on my main branch in a CVS module. these 4 files were tagged PROD1-0. from this version of my 4 files I created a new branch DEV1-0. In this branch I made some modifications and deleted file d. then I tried to merge the branch DEV1-0 into PROD1-0. the modifications I had made were merged into the main branch. and I tagged the files a,b,c PROD2-0.
Now when I want to modify something in thoses files, I encounter a problem. I do a checkout without specifying a tag name, so I'm checking out all the files with the HEAD tag, which are the latest version of a,b and c and also d which I don't want to have since I deleted it. the solution I have not to retrieve d is to specify a tag name (PROD2-0) when I do the check out. but then I can't modify the files because of the sticky tag.

I'm sure there is a nice way to solve this problem. I'm probably not doing the things right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top