Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install and Use TortoiseCVS: A Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

TortoiseCVS is a Windows shell extension that lets you work with CVS (Concurrent Versions System) repositories directly from File Explorer. Instead of typing command-line commands, you right-click files and folders to check out, commit, update, and manage versions. This guide walks you through installing TortoiseCVS and using its core features. You'll need a Windows PC (TortoiseCVS does not support macOS or Linux) and access to a CVS repository—either one your team hosts or a public one. If you don't have a repository yet, you can install a local one using the included CVS server tools, but for this guide we assume you have the server address, username, and password.

What You'll Need

  • A Windows computer (Windows 10 or 11 recommended; older versions may work but are not officially supported).
  • Administrator rights to install software.
  • CVS repository details: server address (e.g., :pserver:user@host:/cvsroot), username, and password.
  • An internet connection if the repository is remote.

Step-by-Step

  1. Download TortoiseCVS. Go to the official TortoiseCVS website (tortoisecvs.org) and download the latest stable installer. Avoid third-party download sites to prevent malware.
  2. Run the installer. Double-click the downloaded .exe file. If Windows shows a SmartScreen warning, click "More info" then "Run anyway" only if you trust the source. Follow the wizard: accept the license, choose the installation folder (default is fine), and keep all components selected. The installer will also install the CVS command-line tools if you choose that option—recommended for troubleshooting.
  3. Reboot if prompted. The installer may ask to restart your computer to integrate with File Explorer. Save your work and restart.
  4. Verify installation. After reboot, open any folder in File Explorer. Right-click on an empty area—you should see "CVS" in the context menu. If you don't, restart Explorer (Task Manager > Windows Explorer > Restart) or log off and back on.
  5. Check out a module. Create a new folder where you want the project files (e.g., C:\Projects). Right-click inside that folder and select "CVS Checkout..." from the context menu.
  6. Enter repository details. In the Checkout dialog, under "CVSROOT", enter the repository string. For a pserver connection, it looks like: :pserver:username@host:/path/to/repo. For SSH, use :ext:username@host:/path/to/repo (you'll need an SSH client like PuTTY installed). If you're unsure, ask your repository admin.
  7. Set the module. In the "Module" field, type the module name—this is usually the top-level folder name in the repository. You can also click "Browse" to see a list of modules if the server allows browsing.
  8. Choose a local folder. The "Local folder" field defaults to the folder you right-clicked. You can change it. Click "OK" to start the checkout. Enter your password when prompted. The files will download into that folder.
  9. Work with files. After checkout, you'll see a green icon overlay on files that are up to date. When you edit a file, the icon changes to a red checkmark (modified). To save your changes to the repository, right-click the file or folder and select "CVS Commit...".
  10. Commit changes. In the Commit dialog, type a short message describing what you changed. Click "OK". Enter your password if asked. The file is now updated in the repository.
  11. Update your local copy. To get the latest changes from other team members, right-click the folder and select "CVS Update". This merges new changes into your local files. If there are conflicts, TortoiseCVS will mark them—you'll need to resolve them manually.
  12. Add new files. To add a new file to the repository, create it in your working folder, then right-click it and select "CVS Add". Then commit the folder (or the file) to actually send it to the server.
  13. Remove files. To delete a file from the repository, right-click it and select "CVS Remove". This marks it for deletion; then commit to finalize.
  14. Check for changes. Right-click a file and select "CVS Diff" to see what you've changed locally compared to the repository version. This opens a text comparison window.

Common Mistakes

  • Wrong CVSROOT format. A common error is omitting the leading colon or using the wrong protocol. Double-check the exact string with your admin.
  • Forgetting to commit after adding. "CVS Add" only marks the file; you must commit for it to appear in the repository.
  • Committing without a message. CVS requires a log message. If you leave it blank, the commit will fail.
  • Editing files outside the working folder. CVS only tracks files in the checked-out directory. Copying files elsewhere and editing them won't be recognized.
  • Ignoring merge conflicts. When updating, if you see "C" in the status column, that's a conflict. Do not commit until you've resolved it—otherwise you may overwrite someone else's work.

Tips

  • Use the "CVS Update" command frequently, especially before committing, to minimize conflicts.
  • Set up SSH keys if you use SSH connections to avoid typing passwords every time.
  • Customize the overlay icons: right-click a folder, select "TortoiseCVS > Settings", and choose which icons to show. Too many overlays can slow down Explorer.
  • Use "CVS Check for Modifications" to see all changed files in one view before committing.
  • If you have a large project, consider checking out only a subfolder by specifying the module path (e.g., module/subfolder).

Troubleshooting

Right-click menu doesn't show CVS. First, restart Explorer or reboot. If that fails, reinstall TortoiseCVS. Ensure you're running a 64-bit version if your Windows is 64-bit—TortoiseCVS has separate 32-bit and 64-bit installers.

"CVSROOT not set" error. This means the repository string wasn't entered correctly. Re-check the syntax. For pserver, it must be exactly: :pserver:user:password@host:/path (password optional if you want to be prompted).

Connection timeout or "couldn't connect". Check your internet connection, firewall settings, and that the server is up. Try pinging the host. If using SSH, ensure the SSH client is correctly configured.

Commit fails with "Permission denied". Your user may not have write access to that module. Contact the repository admin.

Update shows conflicts. Open the file and look for lines with <<<<<<< and >>>>>>>. Manually edit to keep the correct changes, then save. Right-click the file and select "CVS Resolve" (if available) or simply commit after fixing—CVS will accept the merged file.

Overlay icons not showing. This can happen after Windows updates. Try running TortoiseCVS as administrator once, or check Settings > Overlay Icons to ensure they're enabled. If they still don't appear, restart Explorer.

Frequently Asked Questions

Can I use TortoiseCVS on macOS or Linux?

No. TortoiseCVS is Windows-only. On macOS or Linux, use the command-line CVS client or other GUI tools like Cervisia (Linux) or MacCVS (macOS, though outdated).

What is the difference between TortoiseCVS and TortoiseSVN?

TortoiseCVS works with CVS repositories, while TortoiseSVN is for Subversion (SVN). They are different version control systems. Choose based on your server.

How do I change my password?

CVS doesn't have a built-in password change command. You usually need to ask your repository admin to reset it, or change it on the server if you have shell access.

Can I use TortoiseCVS with a local repository?

Yes. Install the CVS server tools (included in the installer) and create a local repository using the command line, then connect to it using :local:C:\path\to\repo as the CVSROOT.

Why do I see question mark icons on some files?

That means the file is not under version control. It's either new (you haven't added it) or it's an ignore file (like .tmp). To add it, use "CVS Add" then commit.

Is TortoiseCVS free?

Yes, it's open-source and free to use under the GNU General Public License.