Using SVN with a Mac OS Host
Posted 11-06-2010 at 10:24 PM by Focused4Success
I keep all of my svn repositories under: ~/svn on my MacOS host. When accessing the repository from Mac OS the URL is:
file:///Users/username/svn/...
Under OpenSUSE the URL is:
file:///mnt/username/svn/...
To flip between the two repositories, just use the following command:
svn switch --relocate file:///Users/username/svn/folder file:///mnt/username/svn/folder
The repository was originally created using the command:
cd ~/svn or /mnt/username/svn
svnadmin create folder
When created under Mac OS the version of the svn repository will be fairly old. It's pretty difficult to update svn on the Mac. Repositories can be reformatted by using svnadmin dump, svnadmin create on the new host and svnadmin load.
There are probably much better ways of doing this, especially using the svn or http protocol. But I haven't had time to really figure this out under Mac OS. This worked fine, it just requires a little tweaking at time.
file:///Users/username/svn/...
Under OpenSUSE the URL is:
file:///mnt/username/svn/...
To flip between the two repositories, just use the following command:
svn switch --relocate file:///Users/username/svn/folder file:///mnt/username/svn/folder
The repository was originally created using the command:
cd ~/svn or /mnt/username/svn
svnadmin create folder
When created under Mac OS the version of the svn repository will be fairly old. It's pretty difficult to update svn on the Mac. Repositories can be reformatted by using svnadmin dump, svnadmin create on the new host and svnadmin load.
There are probably much better ways of doing this, especially using the svn or http protocol. But I haven't had time to really figure this out under Mac OS. This worked fine, it just requires a little tweaking at time.
Total Comments 0