Can tortoise cvs individually work without cvsnt?

1k views Asked by At

I want to create a local repository using tortoise tortoise cvs without making a server... Is it possible??

1

There are 1 answers

1
Rudi On

You can create a local repository on your computer. You create an empty directory, and call cvs init within there (I guess ther is a cvs.exe or cvsnt.exe lying around somewhere in the installation directory of TortoiseCVS. If not you need to get it). Then you can import any local folder into this repository. You enter the file path of the top folder when you are asked for the CVSROOT.

:: create the repository
c:
mkdir c:\repo
cvs -dc:\repo init

:: import something
mkdir initial
cd initial
echo 23>42
cvs -dc:\repo import first-module useless-tag-1 useless-tag-2

There might be issues with the '\' chars in the path names, you can then try with forward slashes.

But honestly, today I use Mercurial and TortoiseHg for version control, which has lots more features and is less painful.