Subversion tortoisesvn Windows configuration

Source: Internet
Author: User
Tags svn tortoisesvn

1. My environment is Windows 2003 or Windows XP

Install Setup-subversion-1.6.0.msi

Tortoisesvn-1.8.4.24972-win32-svn-1.8.5.msi


Subversion installation configuration, double-click to run the installation, first installed Subversion official files, after the installation is completed will automatically add%subversion%\bin to the PATH environment variable. That means you can now use Subversion at the command line. Enter cmd, input svn--version, look at the effect of the operation.

Then install the TORTOISESVN client, which is a very convenient and easy to use client. All the way down. Install completed, then ask if you reboot, reboot is to make TORTOISESVN working directory style effective, select reboot on it.


2. Server-side, build version library (Repository)

Run svnadmin create E:\svn\svn_repo under cmd

After execution, a Svn_repo version library will be generated under the SVN folder, or it can be said to be a project solution that generates a lot of related files.


3. Modify SVN service-side configuration

(1) Open the E:\svn\svn_repo\conf directory with a text editor and modify the svnserve.conf:
To

(Cannot have spaces at the front)
Anon-access = Read
auth-access = Write
Password-db = passwd

(2) Notepad opens the passwd.conf file in the same directory (if not new, the file does not have a suffix), modified or added as:
[Users]
# Harry = Harryssecret
# sally = Sallyssecret
admin = 123123
Description: User name is admin, password is 123123


(3) User Rights configuration, open the same directory under the AUTHZ.C
onf file to add readable writable permission for user admin:
[/]
admin = RW


4. Start Service

Svnserve-d-R E:\svn\svn_repo

Indicates that the service is rooted in E:\svn\svn_repo



5.import Code

Establish Project/test1 in E:\svn\svn_repo

Put the code under the Test1.


The code can be viewed through SVN://127.0.0.1/POJECT/TEXT1

Svnserve.conf: (front cannot have spaces) if there is a space or a configuration error, you cannot access through the SVN protocol

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.