SVN (SVN) Usage Summary __ Software operations

Source: Internet
Author: User
Tags svn

First, install SVN server side and client (version 1.9)

Two, create SVN warehouse

To create a warehouse:

Use command: svnadmin Create warehouse Address

such as: Svnadmin Create E:/svn/app/shop

third, add SVN to the service boot automatically start use command:

SC Create svn binpath= "F:\software\SVN\server\bin\svnserve.exe--service-r F:\software\SVN\app\shop" Displayname= " Svn-service "start= Auto depend= Tcpip

The first address is the directory where the Svnserve.exe is located. The second address is the repository directory

Note: such as binpath= "" "= number must be a space before the = number can not have spaces

Four, two kinds of configuration: 1. Anonymous user 2. Account Login

The following three files are three files in the generated warehouse directory

Account Login Configuration:

svnserve.conf file

1.19 lines changed to Anon-access = None to remove #

2.27 lines password-db = passwd # get rid of

3.36 lines authz-db = Authz # get rid of

Note that there is no space in front of anon-access

For example:

[General]

Anon-access = None

auth-access = Write

Password-db = passwd

Authz-db = Authz

Realm = Object

passwd file refers to the user name password, such as:

[Users]

# Harry = Harryssecret

# sally = Sallyssecret

LP = Lp123

WD = wd123

Authz File Configuration permissions:

[/] #配置仓库 [/] on behalf of all catalogs

LP = RW #配置读写权限 r Read W write RW read/write

WD = RW

Five other programmers SVN working directory operations

1. Install Client SVN first

2. First, a checkout will appear. SVN hidden folder

3. The first time submitted to the Warehouse right button TortoiseSVN right menu add

VI. Matters of note

If authentication failure occurs:

1. User name password writing error can not be preceded by a space or user name password input is incorrect

2. Is the warehouse permissions set error can be Authz file [/] on behalf of all documents

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.