First, I have to admit I screwed up a little with CVS. I had a release tag releaseX
, which was done some time back (i.e., not HEAD). Then I decided I need a maintenance branch at that point. Instead of creating a branch tag (branchX
) in addition to releaseX
, I deleted the release tag and created a branch tag (erroneously) named releaseX
. I then proceeded to work on that maintenance branch, and created releaseX1
, releaseX2
etc.
My problem: when I check out releaseX
, I get the branch head, i.e. the latest code from that branch. What I need now is the code at the branch point, i.e. the former releaseX
code.
Is there any way to do this?
Reverting to earlier repository version from backup is not an option.
Edit: I know I can work around it by doing a date-based checkout. I would like to know if it's possible to still do a tag-based one.
Update (Re @Philip Derbeko): I know that CVS does not correlate between files. But CVS does have the information where the branch occured. In ViewVC, I can even see it:
File X - Revision 1.y - Branch: MAIN - Branch point for: releaseX
The next file revision is:
File X - Revision 1.y.2.1 - Branch: releaseX - CVS Tags: releaseX1
The metadata is apparently there. Hence my question: Is it possible to check out the branch point, not the branch HEAD?