Linux学习之路--SVN客户端简单应用

首先帖上MyEclipse8.6(好像8.*的都可以)上Subclipse安装方法:

Help-->MyEclipse Configure Center-->Software,右击Quick-Add Popular Plug-ins下的Subclipse1.6.*(w/related),选择Add to Profile,除了Subclipse Integration for Mylyn其他都选中,然后按部就班的安装就行了,最后会提示重启MyEclipse,重启即可。

使用Linux做开发都会遇到SVN更新提交的情况,有些人说可以用Eclipse下的插件Subclipse,但那只是能操作代码部分(不知道是不是这样,我没找到能操作其他SVN目录的功能),并不能操作其他的目录,所以可以在Linux上装svn服务,使用命令做简单的操作。

下载地址:

http://subversion.tigris.org/downloads/subversion-1.6.15.tar.gz

http://subversion.tigris.org/downloads/subversion-deps-1.6.15.tar.gz

tar xfvz subversion -1.6.15.tar.gz

tar xfvz subversion-deps -deps-1.6.15.tar.gz

cd subversion-1.6.15

./configure --prefix=/opt/svn

 

make clean

make

make install

vi /etc/profile,/etc/profile 最后加入:

PATH=$PATH:/opt/svn/bin

export PATH

svnserve –version

测试

 

好了,如果要更新某个目录里的版本,可以cd进入该目录,然后svn up更新该目录的版本。

更多命令见:http://hi.baidu.com/mgqw/blog/item/a3dee127e8ebf605908f9d6b.html

猜你喜欢

转载自apluck.iteye.com/blog/827613