Logging in to the Drupal CVS server with Mac OS X

I think OS X’s preinstalled version of CVS is a bit dodgy. Today I was following the instructions on how to connect to the Drupal CVS repo, but I was getting this error:

fintan drupal_cvs$ export CVSROOT=:pserver:fintan@cvs.drupal.org:/cvs/drupal-contrib
fintan drupal_cvs$ cvs login
Logging in to :pserver:fintan@cvs.drupal.org:2401/cvs/drupal-contrib
CVS password:
cvs login: warning: failed to open /Users/fintan/.cvspass for reading: No such file or directory

It turns out that you need to do it all as one command, like this:

cvs -d:pserver:fintan@cvs.drupal.org:/cvs/drupal-contrib login

…and it’ll work just fine.

Fintan 23rd August 2008

Indeed, this will actually work for any pserver you’re trying to connect to with CVS.

Leave a Reply