The last month I’ve had to setup CVS clients on a few different machines and each time I have cursed under my breath over how annoying Windows is for this.
Basically I wanted command line CVS access over SSH2 using public/private key authentication and I wanted to install as few tools as possible (read: preferably no Cygwin). I ended up using PuTTY’s Plink application for the SSH part and the “official” Win32 CVS client port.
What follows is my guide to installing CVS. Note, this is what worked for me, nothing else. This might work for you, it might not, and it might blow up your computer, so use at your own risk.
Plink sessionname, where sessionname is the name you saved the PuTTY session as. If this works you’re good to go for the next steps.cvs -d :ext:user@session:/home/cvs/ version. If this works, you’re good to go. Happy committing.
Why the heck all that fuss??!!?
Here is the simple version:
1. Download latest installer from http://www.tortoisecvs.org/. No other software required!
2. Add the install folder to your systems path. eg: "C:\Program Files\TortoiseCVS".
3 Be happy, there is nothing more. Now you have a CVS client integrated in windoze explorer and also a geek CLI version at your fingertips. Supports all major protocols including ext (ssh direct access), pserver, ntserver and local folder.
Work smarter, not harder :-).
There are a few reasons why I didn't even look at TortoiseCVS.
1. I had no clue TortoiseCVS had a commandline interface.
2. I went for consistency across platforms - Is TortoiseCVS consistent with the "proper" CVS CLI?
3. Last time (2 years ago, I reckon) I tried out TortoiseCVS it didn't work for some reason that my memory won't let me recall.