Stupid CVS tricks
I’m doing coding on my current project, and am getting acquainted with CVS from a developer’s point of view. So, I had my first CVS mishap this morning, where I had to pull out an old version of a file and make it current. Sticky tags, of course, get in the way. Here’s a set of instructions on how to make an old revision the current one.
Basically:
mv test test.old
cvs update -A test
mv test.old test
cvs commit -m “reverting to old” test
Since I’m making a CVS tricks post, here’s some bits of old documentation I had scattered around:
In the directory above the tree you want to import, run: “cvs import ModuleName vendor_tag release-tag” where ModuleName is the module you want to check into, etc.