恩,是挺杂的
找不到
帮助里的几个连接 有的要权限
没辙!
帮助里的信息:
3.2. Svnserve Based Server
3.2.1. Introduction
There may be situations where it's not possible to use Apache as your server. Fortunately, Subversion includes Svnserve - a lightweight stand-alone server which uses a custom protocol over an ordinary TCP/IP connection.
In most cases svnserve is easier to setup and runs faster than the Apache based server.
3.2.2. Installing svnserve
Get the latest version of Subversion from
http://subversion.tigris.org/ser ... entList?folderID=91 .
Run the Subversion installer. If you run the installer on your server you can skip step 3.
Open the windows-explorer, go to the installation directory of Subversion (usually C:\Program Files\Subversion) and in the bin directory, find the files svnserve.exe, libdb43.dll, libeay32.dll and ssleay32.dll - copy these files into a directory on your server e.g. c:\svnserve
3.2.3. Running svnserve
Now that svnserve is installed, you need it running on your server. The simplest approach is to run the following from a DOS shell or create a windows shortcut:
svnserve.exe -d
svnserve will now start waiting for incoming requests on port 3690. The -d switch tells svnserve to run as a daemon process, so it will always exist until it is manually terminated.
If you have not yet created a repository, follow the instructions given with the Apache server setup Section 3.1.4, “Configuration”.
To test that svnserve is working, use TortoiseSVN → Repo-Browser to view a repository.
Assuming your repository is located in c:\repos\TestRepo, and your server is called localhost, enter:
svn://localhost/repos/TestRepo
when prompted by the repo browser.
You can also increase security and save time entering Url's with svnserve by using the -r switch to set the root location and restrict access to a specified directory on the server:
svnserve.exe -d -r drive:\path\to\repository
Using the previous test as a guide, svnserve would now run as:
svnserve.exe -d -r c:\repos
And in TortoiseSVN our repo-browser Url is now shortened to:
svn://localhost/TestRepo
Note that the -r switch is also needed if your repository is located on a different partition or drive than the location of svnserve on your server.
Warning
Do not create or access a Berkeley DB repository on a network share. It cannot exist on a remote filesystem. Not even if you have the network drive mapped to a drive letter. If you attempt to use Berkeley DB on a network share, the results are unpredictable - you may see mysterious errors right away, or it may be months before you discover that your repository database is subtly corrupted.
Run svnserve as a Service
If you are concerned about always having a user logged in on your server, or worried about someone shutting down svnserve or forgetting to restart it after a reboot, it is possible to run svnserve as a windows service using a wrapper like the one available at svnservice provided by Magnus Norddahl. Note that SVNService installs svnserve as a manual service, you may want to change this to automatic.
More generic tools like firedaemon will also work. Note that you will still need to run svnserve with the -d switch.
3.2.4. Authentication with svnserve
The default svnserve setup provides anonymous read-only access. This means that you can use an svn:// Url to checkout and update, or use the repo-browser in TortoiseSVN to view the repository, but you won't be able to commit any changes.
To enable write access to a repository, you need to edit the conf/svnserve.conf file in your repository directory. This file controls the configuration of the svnserve daemon, and also contains useful documentation.
You can enable anonymous write access by simply setting: