在linux中如何使用Subversion 和 RabbitVCS linux subversion 1.8

Subversion (svn) is a cross platform version control open source tool.

To install Subversion:

sudo apt-get install subversion

or use yum for red hat or build from the source package.

RabbitVCS – linux counter part of the TortoiseSVN. Its a client for the subversion – this helps in using version control without going to the command mode. Its easy to use, install and integrates to nautilus – means your version control is just a right click away.

Install RabbitVCS : check this

(nautilus needs to restart after RabbitVCS installation. Just logout and login once and on right click RabbitVCS option will come)

Step 1: to create a repository.

I am doing this for repository in local machine. (while repository can be in some centralized system also).

To create a repository in local file system, first create a folder (with any name, but name like svn_repository would help). Right click on the folder, go to RabbitVCS -> create repository here.



Repository creation succesful.

Step 2: create a working directory (where you will be doing your editing, creating works). Put some file.

Right click -> checkout.



Step 3: This is important. To give the repository URL. (this also accepts HTTP/HTTPS repositories). For local repository the path name must be preceded by file:// in the URL field.

Check if destination folder is the working directory you wanted, else modify it.



Step 4: On success, it should display a small green tick mark on the right top of the folder name. This means, Subversion is now watching your folder. Any change/modification to this folder, svn will keep track of.

在linux中如何使用Subversion 和 RabbitVCS linux subversion 1.8


Step 5: To checkin any file – right click->Commit. Always give appropriate comments, else its become hard to track the changes.



After any modification to the file(s) inside the working directory, the green tick mark will change to red "!" (exclamatory) mark, which means there's some changes in the folder which aren't yet checked in to repository. Either you can right click on the directory -> commit. Or go to each file right click and commit.

Some common error faced during the process:

Error: not a working copy

Cause/Solution: Either you are trying to checkout the wrong directory – like the repository itself, or the repository path is wrong.

Error: svn: Unable to open an ra_local session to URL

Solution: For local repository use file:// before the path of the repository directory.

Some video tutorial for RabbitVCS usage:

http://www.youtube.com/view_play_list?p=CF673C5743AC9BDE

  

爱华网本文地址 » http://www.413yy.cn/a/25101011/96570.html

更多阅读

在word中如何使用超链接 word如何使用超链接

在word的编辑中为了能够更形象的展示一些物品,可能会用到超链接。那么怎么使用呢?在word中如何使用超链接——链接电脑上到其他文本在word中如何使用超链接 1、打开word。在word中如何使用超链接 2、选中需要加链接的文字。在word

excel中如何使用超链接? ppt如何超链接excel

excel中如何使用超链接?——简介超链接的好处不言而喻,能快速到达我们想要去的页面或区域,正因为如此现今各种内链和外链都要用到。在此就让小编和大家一块来分享一下excel中超链接的使用。excel中如何使用超链接?——工具/原料

在word中如何输入公式 word中怎么输入公式

在word中如何输入公式——简介办公软件Word2003提供了对公式的编辑操作,那就是公式编辑器,它是Office组件之一。下面由小编给大家讲解一下公式编辑器的使用方法。在word中如何输入公式——工具/原料Office组件---公式编辑器MS Word2

在Word2010中如何设置首字下沉 word2010设置首字下沉

在Word2010中如何设置首字下沉——简介在Word2010中如何设置首字下沉在一篇文本文档中,把段落的第一个字进行首字下沉的设置,可以很好的凸显出段落的位置和其整个段落的重要性,,起到引人入胜的效果,接下来,就带领大家一起学习一下首字下

声明:《在linux中如何使用Subversion 和 RabbitVCS linux subversion 1.8》为网友浅淡时光分享!如侵犯到您的合法权益请联系我们删除