Setting Up a Local CVS Repository

Before you can begin work on a development project using the CVS in the IDE, you must set up a CVS repository for that project. If command-line CVS is installed on your system, you can create a local CVS repository with the IDE's CVS command-line support.

To set up a local CVS repository:

  1. Outside of the IDE, create a directory or folder for the CVS repository on your system.

    The CVS repository should be in a place accessible to all of the project's developers but relatively safe from accidental deletions.

  2. Outside of the IDE, create a directory or folder for your CVS working directory on your system. If you already have a directory with sources that you want to put under CVS control, you can skip this step.
  3. Choose Versioning and choose Mount Version Control and choose CVS from the main window to open the New CVS wizard.
  4. Click the Browse button. Navigate to and select the directory you want to use as your working directory. Click Open to leave the file chooser and click Next.
  5. In the CVS Connection Method panel, select the Local radio button.
  6. Click the Browse button next to the Repository field. Navigate to and select the repository directory you created in Step 1. Click Open to leave the file chooser and click Next.
  7. Click the Command-Line Client Support radio button. Specify the path to the CVS executable by clicking Browse, navigating to the executable, and clicking Open to exit the file chooser. If your system's PATH environment variable already points toward CVS, you can continue without modifying this field.

    If you are running on Windows 95, Windows 98, or Windows ME, you also need to specify a command shell in the UNIX® shell field.

    When you have entered all of the necessary information, click Next.

  8. Leave the Check Out... checkbox in the Initial Checkout panel unselected and click Finish.

    A new filesystem is mounted in the Explorer.

  9. Right-click the root node of the new filesystem and choose CVS and choose Init to initialize the repository.
  10. Right-click the root node of the new filesystem and choose CVS and choose Checkout to prepare your working directory for connection with the repository. Click OK to close the CVS Checkout dialog box without filling in any of the fields.
  11. Right-click the root node of the new filesystem and choose CVS and choose Add to add the files to the repository. In the Add dialog box, click the Add All Local Files in Folder Contents radio button and select the Add the Folder Contents Recursively checkbox.

    The files are marked to be added to the repository, and the status on their nodes changes to Locally Added.

  12. Select the root node of the filesystem and choose CVS and choose Commit to add the files to the repository. After the Commit command finishes, all of the file nodes display the Up-to-date status.

    The files are now under CVS version control. You can now use CVS commands in the IDE to add and remove files, commit changes to files, view differences and file histories, and so on.

See also
Mounting a CVS Filesystem
New CVS Wizard
Setting a Relative Mount Point for a CVS Filesystem
VCS Support on Windows 95, Windows 98, and Windows ME
Reconfiguring a CVS Filesystem
Built-in Client Filesystem Properties

Legal Notices