您的位置:首页 > 其它

Ubuntu svn更新

2013-11-27 19:26 148 查看
来自 http://kovshenin.com/2013/subversion-1-7-on-ubuntu-12-04/

Ubuntu’s default packages ship Subversion 1.6 with the 12.04 distribution. This is annoying if you want to use the newer Subversion 1.7, without upgrading your OS, and especially if you’re dealing with newer working copies:

svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.


Turns out there’s an official Subversion
PPA on Launchpad, so for Ubuntu 12.04 all you have to do is add the following couple lines to your
/etc/apt/sources.list
file:
deb http://ppa.launchpad.net/svn/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/svn/ppa/ubuntu precise main


And upgrade Subversion to its latest version with apt-get:
sudo apt-get update
sudo apt-get install subversion


At this point you should be running the latest, and the greatest:
$ svn --version
svn, version 1.7.8 (r1419691)
compiled Mar 23 2013, 23:38:40


Hope this helps!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: