Checking out a project using WinCVS

Last modified: February 14, 2006 - 08:04

These instructions are written for WinCVS, but the concepts probably apply to Tortoise as well. They are intended for developers with a CVS account.

Assumptions: a working installation of WinCVS. A CVS account at drupal.org.

You may have checked out modules anonymously before. You will need to start again as the CVS Root definition (which is stored in each local copy of a checked out directory) needs to contain your login information. It is a good idea to start with an empty folder to keep things clean - I have a folder DrupalSandbox on my Desktop.

  1. Use View -> Browse location -> Change to set the local path to DrupalSandbox or whatever your folder is.
  2. Select Remote -> Checkout module
  3. On the Checkout settings tab, tick CVSROOT and click the '...' button to the right of the box.
  4. In Protocol select pserver, and in Repository path enter /cvs/drupal-contrib. Then under Keyword select username and then the Edit button to enter your username; do the same for password (this is of course the username and password you stated when requesting a CVS account). Select Hostname and enter cvs.drupal.org. Click OK.
  5. Now still in Checkout settings, under Module name and path on the server enter contributions/modules/image (or whatever). Other than CVSROOT the check boxes on this tab should all be unchecked.
  6. Click OK, and WinCVS should connect to the server and check out the code. It will put it in a subdirectory contributions/modules/image (or contributions/theme-engines/phptemplate or whatever). You can move the image directory to your DrupalSandbox folder if you want, but keep contributions/modules etc. for later.

You can now work with WinCVS to manage your local copy of the files, updating and committing as necessary.

 
 

Drupal is a registered trademark of Dries Buytaert.