SVN server configuration for Mac

Source: Internet
Author: User
Tags svn

This article reprinted to http://blog.sina.com.cn/s/blog_5e42f31a010156z4.html

1. Locate the appropriate directory and create a new repository directory: mkdir SVN

To create a repository: Svnadmin create/users/qst/svn/repository

2. Edit permissions, configure SVN permissions, where the configuration file is located in the directory:/users/qst/svn/repository/conf

There are three configuration files in this directory: authz/passwd/svnserve.conf

1) Modify Authz, vi Authz, such as:



 

2) Modify Passwd,vi passwd, such as



3) Modify Svnserve.conf,vi svnserve.conf, such as:

3. Start the server, if there is no prompt, the general start success

Svnserve-d-r/users/qst/svn/repository/

Use the following command to see if successful PS Aux|grep SVN is started

Note: SVN can be divided into single or multiple repositories, assuming:

Repository directory is/DATA/SVNDATA/REPOS1

Start the program if: svnserve-d-r/data/svndata/repos1

This means that you are currently SVN only for REPOS1 this repository, the client access directly svn://ip/on, not with the directory

Start the program if: svnserve-d-r/data/svndata/

This means that your current SVN can be run in multiple repositories, and client access needs to be added SVN://IP/REPOS1 to access the REPOS1 repository

4. Import project or file use commands to the SVN server

SVN import Real Presence source path SVN://IP address/svn/respository--username=zhangsan-m '--Initialize project--'

Whatever you want to write, do not write it.

You will be prompted to enter a password, enter the password you set to

SVN import/users/qst/desktop/123 svn://192.168.100.154/svn/repository--username=xx-m ' initial import '

Such as:

5. Export the project in any directory where the SVN project has not been exported and execute the SVN checkout SVN://IP address/svn/repository

Note: This path can be specified at any of the following levels.

There is a problem: checkout checked out to which directory?

The above statement is checked out to/users/qst/svn/repository/repository

SVN server configuration for Mac

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.