Blog 3 - Subversion and Source Control

| 4 Comments | No TrackBacks

Source control and subversion are helpful tools for group code work. Source control, I believe, functions on the idea that the source code is stored in a server while the partners involved modify local versions and changing the server's to reflect said changes. This is done to allow multiple to work on the same code over long distances and assisting each other on the code when needed. Subversion, also called svn, functions as a program that optimizes source control and is what we used in 3081W. Svn has a repository, both for individual and group, that allows us to store are code online for others to see. When we add or modify, with the command add and commit respectively, the existing code on the repository we can leave comments telling what we did and why. We can update our local code version with the repository code with the svn update command if said code is different from local. These features allow easier long distance group code work because our partners can understand what we did and retrieve the alterations for their own use.

However, there are drawbacks such as remembering to delete data from the repository and not your own local server. Some issues caused are an inability to remove it from the repository without administrative assistance, loss of doing additions to repository in the file that contained the deleted file, or an inability to change the repository at all depending on where you deleted the file locally. All this can be resolved though with the help of an administrator or someone similar. You can also force some of the commands or use the resolve command to fix some issues but these won't fix everything. You have to work around svn server related issues such as the site being down, which can be circumvented by using email to transfer altered code, although emails can only hold so much information and don't allow quick changes to occur.

No TrackBacks

TrackBack URL: http://blog.lib.umn.edu/cgi-bin/mt-tb.cgi/164362

4 Comments

What do you mean by svn "optimizes source control"? Yes, svn is a tool for version control, but I would like to know how it optimizes anything? Also I hope you are aware that the individual and group repository has more to do with how the repositories are set up than how svn operates. Please correct me if I'm wrong.
Your drawbacks to using svn are common problems that I've found too such as the server being down. I'd be interested in hearing more about how you came to these conclusions since they sound like they draw on personal experience, especially about requiring administrative permissions.
-Elsa Dosh

I definitely agree with your second drawback. We all experienced server issues with subversion earlier this year. Luckily it was resolved pretty quickly, and in my experience there hasn't been any problems since. I'm interested in the first drawback you listed, though. It sounds like you may have had some pretty serious problems deleting from the repository. It surprises me that it could get to a point where you can't change the repository at all. I haven't had anything like that happen yet but it could be useful to be aware of going forward.

Evan Yakowicz

I think you cover a few of common problems people new to version control run into. It takes some time to think about files and their changes over a frame of time. After a while you get used to those quirks and you wonder how you got along without it.

Name: Jason Reiss

Leave a comment

About this Entry

This page contains a single entry by tric0035 published on October 27, 2011 9:09 AM.

CSCI 3081W blog 2 was the previous entry in this blog.

Blog 4 - Testing is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.