Showing posts with label Version control. Show all posts
Showing posts with label Version control. Show all posts

Thursday, September 1, 2011

SVN tips

SVN tricks and tips.

Wednesday, December 23, 2009

CVS

Quick start to CVS on linux.

CVSNT/CVS 2.x client/server downloads for windows, linux and Mac OS X:
http://www.march-hare.com/cvspro/

WinCVS client also can be separately downloaded from WinCVS download.



Set up CVSNT 2.5.04 on WindowsXP or Windows 2003 server:
(The following steps are extracted from here)

1. Preparation
1) Prepare a NTFS partition for CVSNT. [this is not necessary]
2) In folder's Tools -> Folder Options -> View -> Advanced Settings,
Cancel "Use Simple File Sharing (recommended)". [this is not necessary]
3) Create two folders:
- D:\Temp, set its security settting to "fully control" by all users.
- D:\CVSRepo. This will be where repositories are stored in.
2. Installation of CVSNT. Use default settings.
3. Configure
1) First create two windows system accounts, say CVS_Mgr and CVS_Usr.
2) Open CVS control panel, in tab "About", Click on "Stop" to stop CVSNT service.
3) In "server settings" tab, choose "Temporary" folder to the previous created D:\Temp.
Choose "CVS_Mgr" or "CVS_Usr" for "Run as user".
4) In "Repository configuration" tab, add new repository,
set "Location" to "D:\CVSRepo", and set "Name" to "\CVSRepo".
Leave "Default repository" unchecked and the rest 3 checkboxes checked.
5) Now in CVS control panel, in tab "About", Click on "Start" to start CVSNT service.
6) Add users. Do this from command line in a DOS windows.
Let CVS_Mgr belong to the Administrators group.
In command line, type these:
set cvsroot=:sspi:<computer name>:/CVSRepo
cvs passwd ­-a CVS_Mgr
cvs passwd ­-a CVS_Usr
It will prompt for the passwords of these 2 users.
Now the setup is done.
7) Use the following to test it:
In a DOS window, type
set cvsroot=:pserver:CVS_Mgr@<computer name>:/CVSRepo
cvs login
cvs ls
This will list the current files in the repository.
Now one can connect to the CVSNT server from CVS clients on other machines.

Blog Archive

Followers