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.
Install tortoisesvn SVN client in centos 6.5