Jordan Brock

SVN Tips

Another post as a reference item for me.

h3. Setting up a subversion project

Create the trunk, tags and branches subdirectories.
bq.


svn import /path/to/project http://server.com/svn/path -m “Initial Upload”
svn checkout http://server.com/svn/path/trunk project name

Then some general housekeeping for Rails apps and subversion:
bq.


svn remove log/*
svn commit -m “Removing Logs”
svn update
svn propset svn:ignore “*.log” log/
svn commit -m “Ignoring Logfiles”