Version Management of iOS programs (based on SVN)

Source: Internet
Author: User

1. Install SVN

A, Sudo-Apt-Get install subversion-Tools

B, mkdir/home/SVN

C, CD/home/SVN

D, svnadmin create Repository

2. Import the project

A, mkdir proj

B, mkdir proj/trunk

C, mkdir proj/branches

D, mkdir proj/tags

E, SVN import proj file: // home/SVN/repository-m'init'

F, SVN list file: // home/SVN/Repository/proj

G, create Branch

SVN copy file: // home/SVN/Repository/proj/trunk/file: // home/SVN/Repository/proj/branches/PROJ-201108-m'create A branc'

3. Configure SVN

A, VI svnserve. conf

Remove the comments before the following statement

Anon-access = read
Auth-access = write

Password-DB = passwd

Authz-DB = authz

B, VI passwd

Add a new user

Leon = xxxx

C, VI authz

Add a new group

[Groups]

Admin = Leon

[/]
@ Admin = RW
* = R

D. Pay attention to the following for the authz. conf configuration file:

1) if we start it in svnserve-d-r/home/SVN/Repository mode, there will be no configuration like [proj :/].

2) if we start it in svnserve-D mode, we can configure it in [proj :/].

4. Start the svn service.

A, svnserve-d-r/home/SVN/Repository

5. Configure xcode

1. Select SCM> Configure repositories from the xode menu and enter the svn server information.

2. Select SCM-> repositories and you can import and check out the content you want. You can also perform routine SVN management here.

3. After the checkout project is completed, set the project SCM in the properties of your project.

4. after setting, you can see a new column in your project view. M indicates that the file has been modified, and then you can use the SCM menu, you can also right-click the menu to directly perform SVN operations, such as commit, update, revert, diff, and log.

SCM-> Get SCM info to view the version information of any file

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.