Installation configuration and use of the SVN--mac system

Source: Internet
Author: User
Tags svn svn update

1, create the local code warehouse

First create an SVN repository directory

Svnadmin Create/users/mac/svn/mycode

The system will automatically generate the catalog files

Go to configuration file directory

Modify Svnserver.conf

Find the file and remove the comment

    1. # anon-access = Read
    2. # auth-access = Write
    3. # password-db = passwd
    4. # authz-db = Authz

Open passwd File Add users

[Users]

#账号 = password

Mac=mac

Open Authz, configure user groups and permissions

Topgroup This group, then the permissions are configured.

[Groups]

Topgroups=mc

Use [/] to represent all repositories in the SVN server

[/]

@topgroups = RW

Configuration complete

Start the service

Svnserve-d-R/USERS/MAC/SVN

(1) Local code upload to server

Initial operation required for the first time

SVN import/users/apple/documents/xx svn://localhost/mycode/xx--username=mac--password=mac-m "Initialize import"

(2) pull down the code from the server

SVN checkout Svn://localhost/mycode--username=mac--password=mac/users/mac/documents/code

(3) After submitting the code to the server

CD to file directory

SVN commit-m ' modify content '

(4) Update the server code to the client

SVN update

Installation configuration and use of the SVN--mac system

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.