subversion (svn) for macintosh

11
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

Upload: toviel

Post on 04-Jan-2016

33 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: 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.

Subversion (SVN) for Macintosh

Page 2: 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

Page 3: Subversion (SVN) for Macintosh

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

Page 4: Subversion (SVN) for Macintosh

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.”

Page 5: Subversion (SVN) for Macintosh

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

Page 6: Subversion (SVN) for Macintosh

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

Page 7: Subversion (SVN) for Macintosh

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

Page 8: Subversion (SVN) for Macintosh

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

Page 9: Subversion (SVN) for Macintosh

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

Page 10: Subversion (SVN) for Macintosh

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

Page 11: Subversion (SVN) for Macintosh

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).