Sunday, July 28, 2013

How to upgrade svn to 1.7 for Mac OS X Mountain Lion

upgradesvn.sh    Select all
svn --version
cd ~/Downloads/
curl -o subversion-latest.tar.gz http://apache.mirrors.tds.net/subversion/subversion-1.7.11.tar.gz
tar -xvf subversion-latest.tar.gz
cd subversion-1.7.11/
sh get-deps.sh neon
cd neon/
./configure --with-ssl
make
sudo make install
cd ..
./configure --prefix=/usr --with-neon
make
sudo make install
svn --version


One of the major changes in this release 1.7 is a move to a new metadata format that does not require multiple .svn directories in working copies. Instead, working copies will have a single metadata directory.



1 comment:

Henri said...

Please also note that you can also use Homebrew to install svn on mac. The big advantage is that you can move to the new version and switch back easily in case of problems. I for example moved to 1.8 and saw that the eclipse integration then didn't work anymore and could easily move back to 1.7 with just one command.