110 likes | 261 Views
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.
E N D
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. This manual covers: 1) SVN installation on Macintosh, 2) connecting to the MIMES repository, and 3) checking out the latest version of MIMES.
SVN Installation * Installation conists of two parts: 1) svn binaries, and 2) svn GUI • SVN Binaries • Go to http://www.codingmonkeys.de/mbo/ • Download Martin Ott’s Subversion 1.4.2 (or later) package • Run the installer inside
SVN Installation • 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 • 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 • 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 • svnX GUI cont. • Open the Preferences box (under the svnX menu) • Make sure that the path is /usr/local/bin • Close preferences
SVN Installation • 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 • 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
Connecting to the MIMES Repository • svnX GUI cont. • NOTE: you may have to try multiple times for a successful connection. • When connected, the MIMES repository will appear in the lower window
Checking out the MIMES repository • Once connected to the repository, highlight the “trunk” folder. Click “checkout” and choose a folder to download MIMES locally (this folder will become your “working copy” of MIMES).