Archive for the ‘svn’ Category

Problems Installing Subversion From Source On CentOS

Wednesday, March 26th, 2008

I was setting up a new server for someone, and encountered this error while I was trying to build svn /usr/bin/ld: cannot find -lexpat Now, while I can do some things on that a sys admin can, I am by no means a sys admin. I have only installed svn a ...

Using SVN to Manage a Website

Thursday, May 31st, 2007

We've tried several ways of using SVN to manage Answerbag. Here's a brief overview. We work out of the trunk for very small projects (under a few hours) We create branches to deal with larger projects, and merge those changes back into the trunk when they are done and tested. When we ...

Helpful SVN Script For Adding all Unknown files to Repository

Wednesday, May 30th, 2007

I use SVN from the command line a lot. I also hate typing things over and over. I wrote this script to add all files to a repository that are not already in there. svn status | awk '{if ($1 == "?") print $2 }' | xargs svn add I ...

How to roll back commits to an earlier version of a repository in SVN

Friday, April 6th, 2007

I've always wanted to know how to do this, and for some reason I always had a hard time finding out how. I needed to rollback a change I had committed to my SVN repository. The way you rollback to an earlier version of your repository is to do ...