CentOS 6.5 install TortoiseSVN svn client, centostortoisesvn

Source: Internet
Author: User
Tags svn client version control system tortoisesvn

CentOS 6.5 install TortoiseSVN svn client, centostortoisesvn
TortoiseSVN:

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 as  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 the  corresponding path in the repository it becomes versioned but its  contents are left 'as-is' in the working copy.  This means that an  obstructing directory's unversioned children may also obstruct and  become versioned.  For files, any content differences between the  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 of:                                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',                            'immediates', or 'infinity')  --force                  : force operation to run  --ignore-externals       : ignore externals definitionsGlobal 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 without                             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 as  they exist in the repository.  If TARGET is a working copy path, the  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 commitValid options:  -r [--revision] ARG      : ARG (some commands also take ARG1:ARG2 range)                             A revision argument can be one of:                                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',                            'immediates', or 'infinity')  --incremental            : give output suitable for concatenation  --xml                    : output in XMLGlobal 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 without                             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.


In Linux, how does CentOS55 install SVN?

Svn servers are not necessarily associated with clients. They use fixed protocol connections, so you can install any server or client on any system. Tortoise is recommended for windows clients. linux is free of charge. You can install Tortoise whenever you can.

I reported an error in installing the TortoiseSVN-16516974-win32-svn-165, then install rollback, always cannot install, kneeling Solution

Because there is too little information to judge, you can only list the common problems:
1. TortoiseSVN must be installed on Windows XP SP3 and later operating systems. It cannot be installed if it is an XP system and has not been patched with SP3;
2. If you are using a 32-bit TortoiseSVN installation package, it can only be installed on a 32-bit operating system. If the operating system is 64-bit, there will also be problems (but generally it can be installed, but there is a problem when using it );
3. if it conflicts with some software, it is hard to say what it is, but it is rare.
4. If there is a problem with the operating system, you can only reinstall the system.
 

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.