[Subversion] SVN use on Mac

Source: Internet
Author: User
Tags svn

Previous trial of versions expired download SVNX found it very concise very good

Then directly using Xcode to find that Xcode started directly inside the source Control check out found only fill in the connection but the configuration problem place to fill in is directly through then display a folder name

But there's no content in it, so just add some parameters to the repository address (directly add a K also can) will directly jump out of the account password configuration interface

Here are the solutions to the problems you may encounter

Error Validating server Certificate for ... Pressing T or P is still not resolved

Solutions

(1) Open the servers configuration file with a command: opening ~/.subversion/servers

(2) At the end of the servers configuration file, add:

Ssl-ignore-host-mismatch = True
Ssl-ignore-unknown-ca = True
Ssl-ignore-invalid-date = True

Below is a summary of Terminal direct trial SVN

Checkout

Terminal input

SVN checkout path (address such as https://svn.duapp.com/123123)--username= user name--password= password localrepositorypath (local address/users/ Your Mac's current user name if it is the default user name is apple/other folder)

The above Chinese is the comment space to keep

Even if the Chinese system comes with a file name, you should use it in English, such as documents.

Commit

Terminal input

CD path (directly checkout over the storage folder)

SVN commit-m (or-f parameters see the following with the need to bring the log information) "Log Information"

Commit (CI): Send changes from your working copy to the repository.

Usage:commit [PATH ...]

A Log message must is provided, but it can be empty. If it is not

Given by a--message or--file option, an editor would be started.

If any targets is (or contain) locked items, those'll be

Unlocked after a successful commit.

Valid options:

-Q [--quiet]: Print Nothing, or only summary information

-N [--non-recursive]: obsolete; Try--depth=files or--depth=immediates

--depth arg:limit operation by depth ARG (' Empty ', ' files ',

' Immediates ', or ' infinity ')

--targets arg:pass contents of File ARG as additional args

--no-unlock:don ' t unlock the targets

-M [--message] arg:specify log Message ARG

-F [--file] arg:read log message from file ARG

--force-log:force Validity of Log message source

--editor-cmd Arg:use ARG as external editor

--encoding Arg:treat value as being in CharSet encoding ARG

--with-revprop Arg:set Revision Property ARG in new revision

Using the Name[=value] format

--changelist [--CL] arg:operate only on members of Changelist ARG

--keep-changelists:don ' t delete changelists after commit

Global options:

--username arg:specify a username ARG

--password arg:specify a password ARG

--no-auth-cache:do Not cache authentication tokens

--non-interactive:do No interactive prompting

--trust-server-cert:accept SSL server certificates from unknown

Certificate authorities without prompting (but only

With '--non-interactive ')

[Subversion] SVN use on 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.