CentOS 6.5 install SVN client TortoiseSVN

Source: Internet
Author: User

CentOS 6.5 install SVN client TortoiseSVN

TortoiseSVN introduction:

TortoiseSVN is a free open-source client of the Subversion version Version Control System, which can manage files and directories over time. Files are stored in the central version library. Apart from remembering every modification to files and directories, the version library is very similar to a common file server. You can restore the file to a previous version, and check the history to find out which modifications have been made and who has made the changes. This is why many people regard the Subversion and version control system as a "time machine ".

Environment Description:

System Version: CentOS 6.5, kernel (uname-r): 2.6.32-431. el6.x86 _ 64

Installation command:

Yum install-y subversion

SVN client command:

View svn Command help:

Svn help

View the sub-Command help:

Svn checkout -- help

Checkout (co): Check out a working copy from a repository.
Usage: checkout URL [@ REV]... [PATH]

If specified, REV determines in which revision the URL is first
Looked up.

If PATH is omitted, the basename of the URL will be used
The destination. If multiple URLs are given each will be checked
Out into a sub-directory of PATH, with the name of the sub-directory
Being the basename of the URL.

If -- force is used, unversioned obstructing paths in the working
Copy destination do not automatically cause the check out to fail.
If the obstructing path is the same type (file or directory) as
Corresponding path in the repository it becomes versioned but its
Contents are left 'as-is 'in the working copy. This means that
Obstructing directory's unversioned children may also obstruct and
Become versioned. For files, any content differences between
Obstruction and the repository are treated like a local modification
To the working copy. All properties from the repository are applied
To the obstructing path.

See also 'svn help Update' for a list of possible characters
Reporting the action taken.

Valid options:
-R [-- revision] ARG: ARG (some commands also take ARG1: ARG2 range)
A revision argument can be one:
NUMBER revision number
'{'Date'}' revision at start of the DATE
'Head' latest in repository
'Base' BASE rev of item's working copy
'Committed' last commit at or before BASE
'Prev' revision just before COMMITTED
-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 ',
'Immediate', or 'infinity ')
-- Force: force operation to run
-- Ignore-externals: ignore externals definitions

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 unknown SSL server certificates
Prompting (but only with '-- non-interactive ')
-- Config-dir ARG: read user configuration files from directory ARG
-- Config-option ARG: set user configuration option in the format:
FILE: SECTION: OPTION = [VALUE]
For example:
Servers: global: http-library = serf

Svn list -- help

List (ls): List directory entries in the repository.
Usage: list [TARGET [@ REV]...]

List each TARGET file and the contents of each TARGET directory
They exist in the repository. If TARGET is a working copy path,
Corresponding repository URL will be used. If specified, REV determines
In which revision the target is first looked up.

The default TARGET is '.', meaning the repository URL of the current
Working directory.

With -- verbose, the following fields will be shown for each item:

Revision number of the last commit
Author of the last commit
If locked, the letter 'O'. (Use 'svn info url' to see details)
Size (in bytes)
Date and time of the last commit

Valid options:
-R [-- revision] ARG: ARG (some commands also take ARG1: ARG2 range)
A revision argument can be one:
NUMBER revision number
'{'Date'}' revision at start of the DATE
'Head' latest in repository
'Base' BASE rev of item's working copy
'Committed' last commit at or before BASE
'Prev' revision just before COMMITTED
-V [-- verbose]: print extra information
-R [-- recursive]: descend recursively, same as -- depth = infinity
-- Depth ARG: limit operation by depth ARG ('empty', 'files ',
'Immediate', or 'infinity ')
-- Incremental: give output suitable for concatenation
-- Xml: output in XML

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 unknown SSL server certificates
Prompting (but only with '-- non-interactive ')
-- Config-dir ARG: read user configuration files from directory ARG
-- Config-option ARG: set user configuration option in the format:
FILE: SECTION: OPTION = [VALUE]
For example:
Servers: global: http-library = serf

Svn list Example:

Svn list svn: // 192.168.231.1/SVNHome

Connection timeout error:

Check whether the SVN service has been enabled on the connected IP address and whether the firewall port is open.

After the connectivity problem is solved, a message is displayed, indicating that the password of the "root" user is entered, for example:

Use other users to access the service. Press enter to enter the user name and press Enter,

Then, enter the password and press Enter. If entered correctly, you can see similar information.

Svn checkout example:

Create a directory first, for example, mkdir test

Check out to the test directory.

Svn checkout svn: // 192.168.231.1/SVNHome./test

Because you have already chosen to save the password, you do not need to verify it here. The output is as follows:

Checked out revision 10. Check it out successfully. Go to the test directory and check it.

Update version Library:

Switch the directory to the previously detected file directory, and then execute the command: svn update

If you have not selected to save the password before, you will be prompted to enter the user's password used for detection!

If you want to use another user, press Enter. This will prompt you to enter the user name, enter the user name, and press Enter. The system will prompt you to enter the password, enter the correct password, and the user has the permission, the update starts.

-------------------------------------- Split line --------------------------------------

Subversion configuration instances in Linux

CentOS 6.2 SVN setup (YUM installation)

Deploy Apache + SVN in CentOS 6.5

Build an SVN server using Apache + SVN

Set up and use the SVN server in Windows + reset the password on the client

Install SVN in Ubuntu Server 12.04 and migrate Virtual SVN data

Build svn service and migration method on Ubuntu Server

Build SVN server with online storage

-------------------------------------- Split line --------------------------------------

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.