Subversion

How to install

Installation Notes:

1. go to here to download windows binary, I used 1.6.6 version. Install it, I install it at d:\svn\.
2. The installer will add d:\svn\bin into my PATH, so we could execute any svn command.
3. Here is the command to create a source repository: svnadmin create "d:\svn\repository".
4. For each repository, we have something to configure, like who has the access.
5. d:\svn\repository\conf/svnserve.conf, uncomment the following lines:
     anon-access = none
     auth-access = write
     password-db = passwd
You can see, we give anonymous user none access, and authorized user write access, while the password for each user is defined in passwd file.
6. d:\svn\repository\passwd
    you can add user here in the following format:
    haibo=secret
That means giving user "haibo" with password "secret" write access.
7. now use the following command to create Subversion as an automatic windows services.

sc create svnserver binpath= "d:\svn\bin\svnserve.exe --service -r d:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto

After that, you could go to Services, and start "Subversion" service.
8. put export SVN_EDITOR=TextPad.exe into cygwin's .bashrc, supposing TextPad.exe is already in PATH, so we could execute all the stuff from cygwin instead of CMD, which gave me some funny characters. You could try svn help to make sure everything is all right.
10. Now create a project in repository:
svn mkdir svn://localhost/myproject

11. You might need download TortoiseSVN.
12. You might want to download Subclipse for SVN.