CVS INSTALLATION ON LINUX RHEL AS 2.1 OR 3 - FOR IBM WSAD 5.1.2 VERSION MANAGEMENT CODE
Hi, i need to install CVS on the Red-hat linux EL AS 2.1 or 3.0. I'll use CVS for version management on IBM WSAD 5.1.2 development environment. Anyone could suggest a step by step guide to install CVS and migration of an already exist CVS repository on the Red-hat linux 7.2 to this new installation? thanks in advantage edoardo ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
How to undo a commit?
Hello. I have just committed some bunch accidently. (Thanks god this is the first time this happened after some years of cvs usage) I have no idea about tagging or branching. I know the latest revision is always called HEAD. What is the best way to make the HEAD revision of the files being the previous revision? I've read the faq, they say if the last version is 1.31, checkout 1.30 and recheckin as 1.32. But I cannot imagine how to do this. When I try cvs update -r 1.30 file and then cvs commit file it of course does not work. Or is there a possibility to mark the 1.30 version as HEAD? Christian ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: How to undo a commit?
Christian Hujer [EMAIL PROTECTED] wrote: What is the best way to make the HEAD revision of the files being the previous revision? I've read the faq, they say if the last version is 1.31, checkout 1.30 and recheckin as 1.32. But I cannot imagine how to do this. cvs update -j 1.31 -j 1.30 the_file or cvs update -p -r1.30 the_file the_file When I try cvs update -r 1.30 file and then cvs commit file it of course does not work. Because it has a sticky revision. To recover from that, cp the_file tempfile cvs update -A the_file mv tempfile the_file Any one of these three methods will give you a file with the content of revision 1.30, ready to be committed as revision 1.32 . -- pa at panix dot com ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: How to undo a commit?
Christian Hujer writes: What is the best way to make the HEAD revision of the files being the previous revision? You want to do a reverse merge to undo the changes and then commit. To do that, you'll need to (temporarily) tag the version you want -- I suggest updating your directory (probably using a date/time) to the state you want. Once you've verified that it is, in fact, what you want, tag it and do the reverse merge. The sequence would be something like: cvs update -D yesterday cvs tag TEMP cvs update -j HEAD -j TEMP cvs commit -m'undo erroneous checkin' cvs tag -d TEMP Note that if there is any possibility of anyone else having checked in changes after your erroneous checkin, you should tag the files (with a second temporary tag) before updating to the previous state and then use that tag instead of HEAD in the merge to avoid undoing those other changes. -Larry Jones They say winning isn't everything, and I've decided to take their word for it. -- Calvin ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs