TortoiseSVN:

TortoiseSVN 是 Subversion 版本号控制系统的一个免费开源client,能够超越时间的管理文件和文件夹。

文件保存在中央版本号库,除了能记住文件和文件夹的每次改动以外,版本号库很像普通的文件服务器。你能够将文件恢复到过去的版本号。而且能够通过检查历史知道数据做了哪些改动,谁做的改动。这就是为什么很多人将 Subversion 和版本号控制系统看作一种“时间机器”。

环境说明:

系统版本号:CentOS 6.5,内核(uname -r):2.6.32-431.el6.x86_64

安装命令:

yum install -y subversion

SVNclient命令:

查看svn命令帮助:

svn help

查看子命令帮助:

svn checkout --help

  1. checkout (co): Check out a working copy from a repository.
  2. usage: checkout URL[@REV]... [PATH]
  3.  
  4. If specified, REV determines in which revision the URL is first
  5. looked up.
  6.  
  7. If PATH is omitted, the basename of the URL will be used as
  8. the destination. If multiple URLs are given each will be checked
  9. out into a sub-directory of PATH, with the name of the sub-directory
  10. being the basename of the URL.
  11.  
  12. If --force is used, unversioned obstructing paths in the working
  13. copy destination do not automatically cause the check out to fail.
  14. If the obstructing path is the same type (file or directory) as the
  15. corresponding path in the repository it becomes versioned but its
  16. contents are left 'as-is' in the working copy. This means that an
  17. obstructing directory's unversioned children may also obstruct and
  18. become versioned. For files, any content differences between the
  19. obstruction and the repository are treated like a local modification
  20. to the working copy. All properties from the repository are applied
  21. to the obstructing path.
  22.  
  23. See also 'svn help update' for a list of possible characters
  24. reporting the action taken.
  25.  
  26. Valid options:
  27. -r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
  28. A revision argument can be one of:
  29. NUMBER revision number
  30. '{' DATE '}' revision at start of the date
  31. 'HEAD' latest in repository
  32. 'BASE' base rev of item's working copy
  33. 'COMMITTED' last commit at or before BASE
  34. 'PREV' revision just before COMMITTED
  35. -q [--quiet] : print nothing, or only summary information
  36. -N [--non-recursive] : obsolete; try --depth=files or --depth=immediates
  37. --depth ARG : limit operation by depth ARG ('empty', 'files',
  38. 'immediates', or 'infinity')
  39. --force : force operation to run
  40. --ignore-externals : ignore externals definitions
  41.  
  42. Global options:
  43. --username ARG : specify a username ARG
  44. --password ARG : specify a password ARG
  45. --no-auth-cache : do not cache authentication tokens
  46. --non-interactive : do no interactive prompting
  47. --trust-server-cert : accept unknown SSL server certificates without
  48. prompting (but only with '--non-interactive')
  49. --config-dir ARG : read user configuration files from directory ARG
  50. --config-option ARG : set user configuration option in the format:
  51. FILE:SECTION:OPTION=[VALUE]
  52. For example:
  53. servers:global:http-library=serf

svn list --help

  1. list (ls): List directory entries in the repository.
  2. usage: list [TARGET[@REV]...]
  3.  
  4. List each TARGET file and the contents of each TARGET directory as
  5. they exist in the repository. If TARGET is a working copy path, the
  6. corresponding repository URL will be used. If specified, REV determines
  7. in which revision the target is first looked up.
  8.  
  9. The default TARGET is '.', meaning the repository URL of the current
  10. working directory.
  11.  
  12. With --verbose, the following fields will be shown for each item:
  13.  
  14. Revision number of the last commit
  15. Author of the last commit
  16. If locked, the letter 'O'. (Use 'svn info URL' to see details)
  17. Size (in bytes)
  18. Date and time of the last commit
  19.  
  20. Valid options:
  21. -r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
  22. A revision argument can be one of:
  23. NUMBER revision number
  24. '{' DATE '}' revision at start of the date
  25. 'HEAD' latest in repository
  26. 'BASE' base rev of item's working copy
  27. 'COMMITTED' last commit at or before BASE
  28. 'PREV' revision just before COMMITTED
  29. -v [--verbose] : print extra information
  30. -R [--recursive] : descend recursively, same as --depth=infinity
  31. --depth ARG : limit operation by depth ARG ('empty', 'files',
  32. 'immediates', or 'infinity')
  33. --incremental : give output suitable for concatenation
  34. --xml : output in XML
  35.  
  36. Global options:
  37. --username ARG : specify a username ARG
  38. --password ARG : specify a password ARG
  39. --no-auth-cache : do not cache authentication tokens
  40. --non-interactive : do no interactive prompting
  41. --trust-server-cert : accept unknown SSL server certificates without
  42. prompting (but only with '--non-interactive')
  43. --config-dir ARG : read user configuration files from directory ARG
  44. --config-option ARG : set user configuration option in the format:
  45. FILE:SECTION:OPTION=[VALUE]
  46. For example:
  47. servers:global:http-library=serf

svn list使用演示样例:

svn list svn://192.168.231.1/SVNHome

遇到连接超时的错误:

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGVzdGNzX2Ru/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />
查看连接的IP上是否已经启动SVN服务,检查防火墙端口开放状态。

解决连通问题之后,会提示输入“root”用户的password,例如以下图:

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGVzdGNzX2Ru/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />
这里使用其他用户訪问。直接回车就能够了,然后提示输入用户名,输入完毕回车,

然后提示输入password,输入完毕回车,假设输入正确就能够看到相似的信息了。

svn checkout使用演示样例:

先创建一个文件夹,比如:mkdir test

检出到test文件夹下

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

因为之前已经选择保存password了,所以这里不再须要验证,输出例如以下图:

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGVzdGNzX2Ru/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />

Checked out revision 10.检出成功,去test文件夹下看看吧。

更新版本号库:

切换文件夹到之前检出的文件文件夹。然后运行命令:svn update

假设之前没有选择保存password,则会提示输入检出时使用的用户的password!

假设须要使用其他用户。则直接按回车,这样就会提示你输入用户名,

输入用户名之后按回车,会提示输入password,输入正确而且用户有权限的话,就会開始更新了。

CentOS 6.5安装TortoiseSVN svn client的更多相关文章

  1. CentOS安装TortoiseSVN svn 客户端

    CentOS安装TortoiseSVN svn 客户端   一.CentOS安装TortoiseSVN yum install -y subversion 二.SVN客户端命令 1.查看帮助 命令:s ...

  2. CentOs 6.6 安装配置 SVN

    ① 挂载光盘 mount /dev/cdrom /mnt/cdrom ② yum 安装 svn yum -y install subversion ③ 创建svn 版本库根目录 mkdir -p /w ...

  3. centos 安装 TortoiseSVN svn 客户端

    1 安装 svn客户端 yum install -y subversion 2 常用命令操作   检出命令 svn checkout http://svn.com/path

  4. Linux(CentOS 7)安装测试svn服务

    1.yum install subversion,通过yum安装svn服务 2.svnserve --version,查看是否安装成功 3.mkdir -p /home.svn,创建svn仓库目录 4 ...

  5. unable to load default svn client 和 Eclipse SVN 插件与TortoiseSVN对应关系

    (一)unable to load default svn client 在Win7下的Eclipse,安装了subclipse 1.10.x,已经选中了subclipse和subversion Cl ...

  6. 阿里云服务器centos下安装配置svn服务器

      阿里云服务器centos下安装配置svn服务器 1.安装svn服务器端yum install subversion      从镜像下载安装svn服务器端中间会提示是否ok,输入y,确认安装成功提 ...

  7. CentOS linux下安装和配置Apache+SVN(用浏览器http方式访问SVN目录)

    在CentOS linux下安装SVN,我们可以进行以下步骤: 第一步:安装CentOS Linux操作系统,并在CentOS安装进行的同时,自定义安装这一步,一定要勾选Subversion(在“开发 ...

  8. unable to load default svn client myeclipse SVN安装,wen7 64位安装SVN

    在安装完后连接svn时出现unable to load default svn client的错误提示,百度知道是版本不对,我安装的是1.8的版本,插件按成1.6的了,只需下载1.8插件安装就行了 安 ...

  9. 在Centos环境下安装兼容Apache2.4高版本SVN服务

    在阿里云Centos环境下,搭建PHP运行环境,PHP选择了php7版本,Mysql选择了5.7版本,Apache选择了2.4版本,在搭建SVN版本控制服务过程中出现了不兼容问题,当前环境下Apach ...

随机推荐

  1. 食物卡喉别拍背部!救了100多万人性命的“海姆立克急救法"

    先讲三个事例: 一.近日,浙江金华一个17月大的小贝边玩边吃花生,被噎住.10多分钟后,奶奶发现小贝大口喘气,以为他玩累了就抱他回家,等父母赶到送医已晚.小贝大脑受损严重-父母含泪同意放弃治疗,孩子走 ...

  2. linux下tar压缩/解压的使用(tar) 压缩/解压

    压缩: tar  -zcvf   压缩后文件名.tar.gz   被压缩文件 解压: tar  -zxvf  被解压文件 具体的可以在linux环境下 用 tar --help 查看详细说明格式:ta ...

  3. 8款必备的免费移动Web开发框架(HTML5/JS)

    标签:JavaScript HTML5 移动开发 Web开发 jQuery 应用程序框架 插件 概述:随着智能手机和平板电脑的普及,移动开发逐渐成为众多开发者追逐的潮流.拥有一款优秀的移动Web开发框 ...

  4. poj 2409 Let it Bead && poj 1286 Necklace of Beads(Polya定理)

    题目:http://poj.org/problem?id=2409 题意:用k种不同的颜色给长度为n的项链染色 网上大神的题解: 1.旋转置换:一个有n个旋转置换,依次为旋转0,1,2,```n-1. ...

  5. Oracle排序BUG

    在今天项目开发中,遇到一个奇怪的问题,运用Oracle自身排序,然后将排序结果进行分页展示到前台时,发现数据有重复的现象. 这是数据表需要排序的全部结果,执行脚本:select * from ajb ...

  6. bzoj2243:[SDOI2011]染色

    链剖就可以了.一开始的想法错了.但也非常接近了.妈呀调的要死...然后把字体再缩小一号查错起来比较容易QAQ. #include<cstdio> #include<cstring&g ...

  7. BZOJ_2754__[SCOI2012]_喵星球上的点名_(暴力+后缀数组)

    描述 http://www.lydsy.com/JudgeOnline/problem.php?id=2754 给出n个姓名串和m个点名串.求每个点名串在多少人的姓名中出现过(在名中出现或在姓中出现, ...

  8. 【转】java提高篇(十)-----详解匿名内部类

    原文网址:http://www.cnblogs.com/chenssy/p/3390871.html 在java提高篇-----详解内部类中对匿名内部类做了一个简单的介绍,但是内部类还存在很多其他细节 ...

  9. 自动化测试(三):QTP参数化

    1 Datatable参数化 Global表的数据可以被所有的action访问,Action的数据只能被对应的Action访问 本地表循环的次数设置:Action Call Properties Gl ...

  10. PC端使用opencv获取webcam,通过socket把Mat图像传输到android手机端

    demo效果图: PC端 android端 大体流程 android端是服务器端,绑定IP和端口,监听来自PC端的连接, pc端通过socket与服务器andorid端传输图片. 主要代码 andro ...