|
Thursday, 09 April 2009 14:03 |
|
Firstly, thanks to Hannes for his help with this. Without him I would have had to do a whole lot more reading and make a whole lot more mistakes. Background to this is that the server Nevada was getting old and we wanted to shift it to the new server, Taormina. Note: The methods outlined below require each user to have an account created on the new machine, which is fine for me cos there were only 4 of us. If its a large scale deployment hunt out Hannes and pay him to do it, and while you are at it switch to svn.
Now edit the .bashrc of each user to add/alter the CVSROOT and CVS_RSH directories.export CVSROOT=:ext:cianer@taormina:/var/lib/cvsroot export CVS_RSH=ssh Finally try to write to the cvs directory to ensure the permissions are set up properly. If so do a test checkout:cianer@TAORMINA:/var/lib/cvsroot> touch testfile cianer@TAORMINA:/var/lib/cvsroot> rm testfile cianer@TAORMINA:/var/lib/cvsroot> exit logout Connection to taormina closed. cianer@Feegle:~/cvs_test$ cvs co ixp400_xscale_sw Password: cvs checkout: Updating ixp400_xscale_sw U ixp400_xscale_sw/Makefile U ixp400_xscale_sw/ixp425_eth.c ....... Other things that might be useful:
Note: After you run the above script you will need to make sure your CVSROOT is updated, otherwise will you get the following error:cianer@Feegle:~/temp$ cvs status cvs [status aborted]: cannot exec : No such file or directory cvs [status aborted]: end of file from server (consult above messages if any) |