subversion (svn) for macintosh
DESCRIPTION
Subversion (SVN) for Macintosh. Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage the ongoing development of our models by tracking revisions in a comprehensive way. - PowerPoint PPT PresentationTRANSCRIPT
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage the ongoing development of our models by tracking revisions in a comprehensive way.
This manual covers: 1) SVN installation on Macintosh, 2) connecting to the MIMES repository, and 3) checking out the latest version of MIMES.
Subversion (SVN) for Macintosh
SVN Installation
1. SVN Binaries• Go to http://www.codingmonkeys.de/mbo/• Download Martin Ott’s Subversion 1.4.2 (or
later) package• Run the
installer
inside
* Installation conists of two parts: 1) svn binaries, and 2) svn GUI
SVN Installation
1. SVN Binaries cont.• Open Terminal
(located in Applications-->Utilities)
• At the command prompt, enter:
pico .bash_profile
• Add the following lines to the file:PATH="/usr/local/bin:/usr/local/subversion/bin:$PATH" export PATH
SVN Installation
1. SVN Binaries cont.• Save the file
- Press Control-O to “write out”- File name to write should be: .bash_profile - Press Enter
• Verify a successful installation- Restart Terminal- At command prompt, type:
svn- You should receive the message:
“Type 'svn help' for usage.”
SVN Installation
2. svnX GUI• Go to http://www.lachoseinteractive
.net/en/community/subversion/• Download the free Cocoa GUI for Mac OS X
(svnX 0.9.9)• Open the .dmg, and drag the svnX icon contained
inside to your applications folder (or wherever you want it to live)
• Open svnX
SVN Installation
2. svnX GUI cont.• Open the Preferences box (under the svnX menu)
- Make sure that the path is /usr/local/bin
- Close
preferences
SVN Installation
2. svnX GUI cont.• Open Terminal (located in Applications-->Utilities)
• At the Command prompt, enter: svn list https://mimes.svn.sourceforge.net/svnroot/mimes
SVN Installation
2. svnX GUI cont.• When prompted, type “p” to permanently accept the server
certificate• Wait until the
connection to the repository has been established(the MIMES tree will appear in the terminal)
• Close Terminal
Connecting to the MIMES Repository
• Create a new link to the repository in svnX:
- Open snvX- Click on the
“Repositories” window- Click“-“ to clear the default
entry- Click“+” to add a new link- Name the link- Clear the path, and enter the url:
https://mimes.svn.sourceforge.net/svnroot/mimes- No need for a username and password- Double-click the new link in the repositories window to connect
2. svnX GUI cont.• NOTE: you may
have to try multipletimes for asuccessful connection.
• When connected, the MIMESrepository willappear in the lowerwindow
Connecting to the MIMES Repository
Checking out the MIMES repository
1. Once connected to the repository, highlight the “trunk” folder.
2. Click “checkout” and choose a
folder to download MIMES locally (this folder will become
your “working copy” of MIMES).