First thing is to download and install the svn binaries from : tigris
after this open a cmd shell and issue the command:
svnadmin create “c:\svnrep\”
use the editor and edit the file c:\svnrep\conf\svnserve.conf and uncomment anon-access, auth-access and password-db
### This file controls the configuration of the svnserve daemon, if you ### use it to allow access to this repository. (If you only allow ### access through http: and/or file: URLs, then this file is ### irrelevant.) ### Visit http://subversion.tigris.org/ for more information. [general] ### These options control access to the repository for unauthenticated ### and authenticated users. Valid values are "write", "read", ### and "none". The sample settings below are the defaults. anon-access = read auth-access = write ### The password-db option controls the location of the password ### database file. Unless you specify a path starting with a /, ### the file's location is relative to the conf directory. ### Uncomment the line below to use the default password file. password-db = passwd ### The authz-db option controls the location of the authorization ### rules for path-based access control. Unless you specify a path ### starting with a /, the file's location is relative to the conf ### directory. If you don't specify an authz-db, no path-based access ### control is done. ### Uncomment the line below to use the default authorization file. # authz-db = authz ### This option specifies the authentication realm of the repository. ### If two repositories have the same authentication realm, they should ### have the same password database, and vice versa. The default realm ### is repository's uuid. # realm = My First Repository
Edit the c:\svnrep\conf\passwd file and uncomment the default users:
### This file is an example password file for svnserve. ### Its format is similar to that of svnserve.conf. As shown in the ### example below it contains one section labelled [users]. ### The name and password for each user follow, one account per line. [users] harry = harryssecret sally = sallyssecret
Now the server can be started:
svnserve –daemon –root “c:\svnrep\”
Open another cmd shell:
set SVN_EDITOR=c:\winnt\notepad.exe
C:\>svn mkdir svn://localhost/myproject
The favourite editor should come up and we can edit a description for the new project. after saving and exiting the process goes on.
Authentication realm: <svn://localhost:3690> bb044873-667c-5c43-ab97-faafa55ddce9
Password for ‘abr’: *********
Authentication realm: <svn://localhost:3690> bb044873-667c-5c43-ab97-faafa55ddce9
Username: sally
Password for ’sally’: ************
Committed revision 1.
C:\>svn ls svn://localhost/
myproject/
C:\>
The first project is created.