Thanks
To All Our
Supporters!
Find Out How
To Support
Rice EWB
logo Herzstein Logo TCBlogo Walter P Moore Logo

All of Rice EWB's files are stored in a system called Subversion. This page details how to access EWB files. Bookmark this page. It will help you. First you need to understand a few basic concepts of how the file system works. The concepts section is actually really important, so make sure you read it thoroughly.

Concepts

The system that holds all the files is called Subversion. It's usually abbreviated svn, so you'll see that around a lot. Subversion keeps copies of all the files ever used in it -- even the deleted ones. The files are stored in something called a repository. It also allows you to share files between different people. Subversion allows you to do different actions. The important ones are: check out, update, commit, add, delete, resolve, and revert.

Here's where it gets a bit hairy:
Suppose you and Alice are working on the same file, unknowingly. Both of you update at the same time, but Alice changes a file and commits it. Before you commit your changes, you remember to update first. There are two things that can happen: If the file is plain text (or some Microsoft Word documents) it can be merged as long as you and Alice are working in different parts of the file (her on the top half, you on the bottom half, for example). If the file is not plain text (such as an AutoCAD drawing, or an image), there will be a conflict. The file in conflict will be listed with "conflict" next to its name in the dialog that shows up when you update. It's pretty rare when you have a conflict, but if you do, there will be a bunch of files created to help you merge your file with Alice's. Where your file was there will be three files. Suppose your file is MyFile.jpg. The three files you'll have in a conflict will be:

Once you sort out the conflict, you can perform the "resolve" action on the conflicted file. Then you can commit your file.

Now that you know about how Subversion works, here are some more specific details about how to get it working on your computer.

Install the software

First, you need a program called a client to access the files. There are various Subversion clients, but the most common ones are TortoiseSVN (Windows) and Versions (Mac). All Windows Rice computers have TortoiseSVN already installed, so you can skip this step if you're using a Rice Windows computer. Otherwise, download the installer for your system:

Once you have your client installed, you need to check out the files. You usually only need to do this once.

Checking Out Files

Updating

Committing

The same as updating, but select Commit instead.  Fill in the description box with a description of what you're changing.  Windows users: pay attention to checking files you want to add or delete (noted below).

Adding

Deleting

Reverting and Resolving

The same as Adding and Deleting, just select Revert or Resolve.

Conclusions

Subversion has a lot of features, but we won't be using most of them, since the basic features cover all of our needs.  Be careful what you commit -- it will be there forever with your name on it.  Don't submit useless files.  Don't commit backup (older) files since it's easy to recover them.  If you want to try finding older files on your own, you can search for Subversion tutorials or TortoiseSVN tutorials.  If not, feel free to email the webmaster using the Contact page below.

Home Current Projects Past Projects Supporting EWB About EWB

Subversion Register Site Management

Questions? Contact Us

Last updated Sep. 11, 2008