0

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

Adil
  • 1
  • 1
  • I think first you have to create a repository on server then you can create same on your local with out server... – NoNaMe Feb 13 '13 at 05:03

1 Answers1

0

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.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Rudi
  • 19,366
  • 3
  • 55
  • 77