Use Cornerstone to configure Svn,http and svn simple instructions

Source: Internet
Author: User

Original http://chenyilong.postach.io/ Yong-cornerstonepei-zhi-svn-httpji-svnjian-dan-shi-yong-shuo-ming-fang-zi-xiao-jiao-yin-kai-yuan-zhong-guo-she-qu Using Cornerstone Configuration Svn,http and SVN easy to use instructions Cornerstone is a Mac OS x system very useful SVN tool, after XCODE5, I think the XCode5 of SVN is really a no-no, While the cornerstone configuration is not difficult, but there are a few places to pay attention to, share to everyone, but also hope that you can more comments statement: Cornerstone is a paid version of 128 yuan, this article provides a cracked version from the network, only for developers to learn to communicate and use, not for commercial use

Already installed small partners please look directly at the three steps

One

CORNERSTONEV2.6:HTTP://PAN.BAIDU.COM/S/1QWESEBM Password: www.macx.cn

Second, installation crack method

1, before the installation of the local date changed to a future date, and then double-click the installation, according to the specified process action

2, if you forget to change the date before installation, you can only change the way to crack plist

A. Show system hidden files, open terminal, input, enter

defaults write ~/Library/Preferences/com.apple.finder AppleShowAllFiles -booltrue

B. Restart Finder Press Command+option+esc to open the dialog box, select Finder, click Re-open

C. Go to ~/library/preferences/byhost in the Finder, locate the Globalpreferences........plist file, and delete the "Com.zennaware.Cornerstone" containing This line of words, which clears the installation record

D. After clearing the installation record, if there is no cornerstone in the computer at this time, then follow the 1 steps to install, if already installed, then after uninstalling, follow the 1 procedure to install again, that is to get permanent cracked version

Third, add repository

Click + Select Repository in the left column to add repository

If your company's repository address for you starts with svn://, select SVN server, and if it starts with HTTP HTTP//or https://, select

1.SVN Configuration

Suppose your company SVN address is: Svn://192.168.1.111/svn/ios, user name: Svnserver, Password: 123456

    • 1: Fill in the host address
    • 2: If your host address has a port number, such as 192.168.1.111:8080, then 2 fill in 8080
    • 3: Fill in the path behind the host
    • 4: Auto-generated, if you do not have this svn://user name @ host Address: Port number/path format, then the error is filled out
    • 5: Also automatically generated, will be displayed in the sidebar as 5 in the name, you can customize the name
    • 6: User Name
    • 7: Password
Fill in the above information after the selection can be added, such as failure to add, the information filled out correctly, then contact the administrator, check the address, user name, password is correct 2. HTTP configuration

As with SVN, there is only one place to be aware that if the address is https://, the option to modify the location shown is HTTPS, otherwise the failure will also be added

Iv. Introduction to use 1. Uploading Items to Repository

You can drag directly into the subfolder of repository, or select the Import button above the software to upload, will pop up the option to fill in the location and name, and then select Import to

2. Download the project

There are two types of downloads: Export and check out, except that the export project will not be associated with the source file in Repository, is a standalone version, and the check out file will create a working copy, see the first image of step three , this file is associated with the source file in the library, when there is a new version (others modified) or local modification (self-modification), working copy will show the number of changes, the number of white is modified by others, the number of gray for me to modify the quantity

So if you are a developer in the project, you can choose check out, if you just download the view, do not want your own changes affect the whole project, it is best to choose Export

3. Version Management

Each commit creates a new version, and all historical versions are saved in Repository, such as (can be retrieved by a modified person and the submission of information), so with SVN development can be very good control of the project is not resolved and unknown bug when the code repair problem

SVN facilitates multiple people to develop code merging issues for the same project, but there are a few things to note:

A) first updated and then submitted
    • When you see a new version (that is, the companion has already submitted the code), update the code until working copy no longer shows the white circle, and then run the code to determine that it can be run and function correctly before committing its own code, which can cause multiple conflicts or bugs in the project, and it is difficult to troubleshoot the cause

b) complete the standalone function before submitting, and be sure to fill in the submission information

    • Each completion of a separate function, or solve a bug and then submit the code, do not repeat the submission repeatedly, resulting in too many versions, and must fill in the submission of information, the completion of this completed what function, convenient can be a message search to view the historical version

c) Conflict files

    • In principle, the same group of developers are best not to operate in the same file, but sometimes must go to other files to operate, or a mistake, if at the same time multiple people in the same file to modify the code, the author will appear after the version of the conflict file, there will generally be three different suffixes of the same name file
    • . mine file: Changes I have made
    • Two. r0xx files: xx is a number, the number is smaller for the changes before the file, the larger for the changed file, in the file will have < < < < mine. R0XX >>>>> and so on the words contained in the code, that is the conflict place, In this case, please discuss with colleagues in the group or delete some of your own files to debug, repair the file
    • For iOS projects: If a project or file does not open, select Show Package Contents---Open project.pbxproj file, search. Mine, place the. Mine part before and after << <<>>>> contains the code to delete, the project can be opened, if a build when a Xib file cannot open the error, then select, open with the document, the same as above to solve the problem can not build

d) newly Added files

Submit a newly added file displayed as a question mark status, select the right click after select Add to working copy and then commit

Use Cornerstone to configure Svn,http and svn simple instructions

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.