Changing the password cmd line in Tortoise CVS
I ran into a problem where I needed to reset my CVS password. Usually you can just fetch a module list or try to checkout a module from the same repository and it will prompt you. That wasn’t working this time though – I suspect because I had to VPN to get to the repo. So instead of that hack I had to actually learn how to do it the right way! Here’s what you do…
First – try to update the module and copy your error message as this has the paths you need already nicely figured out. You just need the top command part. Mine was:
In I:\projects\foobar\sourcecode\CoursePlatform: “C:\Program Files\TortoiseCVS\cvs.exe” -q -x update -d -P
CVSROOT=:sspi:jdost@foobar.org:/CVS
Next – in notepad or a text editor replace ‘update’ with ‘logout’
Then in a cmd prompt navigate to your module directory – “I:\projects\foobar\sourcecode\CoursePlatform” in the example.
Then paste and run the command minus that “In I:\projects\foobar\sourcecode\CoursePlatform:” part.
It didn’t return any messages but may be a switch for that or something. Anyways – next time you try cvs update it should prompt you to enter your password!
That’s it
