Subscribe to our feed

Symfony Experts

Symfony Experts
If you have an urgent question for a symfony-related issue, this is the place to ask.


Stack Overflow

The old fashioned way


  SVN Articles

March 20, 2012 – 2:57am Import SVN project into Git

Recently we converted a few SVN projects to Git. We used a method that converts svn authors to git authors and then uploads the repository to github. It also maintains tags and branches. Here is how we did it:

Posted by in  Web Development   |     |  1 Comment »

August 20, 2009 – 12:24pm Getting a new developer started on an existing symfony project

Here is the basic process we use to get a new developer started on a symfony project. This flow assumes you already have created your symfony project and it checked into an svn repository somewhere, and that the developer is on a mac. More…

Posted by in  Web Development   |     |  No Comments »

August 9, 2009 – 4:21pm View all ignored patterns set with svn:ignore recursively in an svn repository

I couldn’t figure out how to do this, so I posted it to stackoverflow and got a great response within minutes. That community is really great.

The command to view all svn:ignore properties in an entire repository is:

svn propget -R svn:ignore .

Here is the link to my question on SO: How do I view all ignored patterns set with svn:ignore recursively in an svn repository? – Stack Overflow.

Posted by in  Web Development   |     |  No Comments »

July 31, 2009 – 12:28pm Springloops deployment with svn externals

We’ve been trying out springloops as a hosted svn solution for one of our smaller projects, and so far it does the job just fine. We are using it to host the subversion repository for a symfony project. We generally like to use svn:externals for the symfony library files themselves, this way it its easy to upgrade symfony, make sure every deployment has the necessary code base without having to worry about having PEAR installed on every server. More…

Posted by in  Uncategorized   |     |  6 Comments »

May 5, 2009 – 10:49am Install/Upgrade Subversion on Mac OS X

This is a great tutorial on SVN and it also includes a Intel disk image of SVN 1.6.1 which makes installing a breeze.

Subversion With Mac OS X Tutorial.

Posted by in  Web Development   |     |  1 Comment »

February 17, 2009 – 4:32pm Recursively delete .svn directories

This came in handy today when I copied a directory from another project and didn’t recognize that it was under version control in that project. Needless to say, my current project got very confused during an svn commit when it encountered this copied directory. To reconcile the situation, I had to recursively delete all of the .svn directories from the copied directory, and then check it in as a fresh copy to the new project. More…

Posted by in  Web Development   |     |  7 Comments »

February 17, 2009 – 12:43pm SVN merge trunk changes to your branch

I always have to look up the documentation on how to merge a whole SVN branch to another. Today there were bug fixes to trunk of my project that I wanted to port into my branch. I expected this to be easy since I hadn’t made many changes to my branch, and no changes to the same files that were modified in the trunk. More…

Posted by in  Web Development   |     |  14 Comments »

February 9, 2008 – 5:02pm Using svnX with svn+ssh on a non-standard port

svnX is a great mac GUI for svn repositories. A lot of our svn servers are accessed via non-standard ports for security, and a limitation of the svn+ssh syntax is that you can’t specify a non-standard port in the address name. To get around this in the command line, you can set a local environment variable “SVN_SSH” like so: More…

Posted by in  OS X Web Development   |     |  2 Comments »

January 21, 2008 – 9:50am svn, apache2, os x leopard 10.5

Mac OS 10.5 Leopard ships with Apache2 and SVN. However, if you want to keep a local svn repository and not use an external svn server (only really useful if you have projects which you will be the only developer), you have to set up the repository yourself. Here is a quick cheat-sheet to help you do just that. More…

Posted by in  OS X Web Development   |     |  10 Comments »

June 13, 2007 – 2:15pm svn export and zip

Sometimes it’s necessary to make a copy of a project stored in an SVN repository. If you just copy the directory manually, you will also be copying those sneaky .svn files that exist in every directory in the project. Instead you should use the svn export command. This will make a new copy of all of the files in the respository than you can zip up and send off to whomever you please.

svn export file:///path/to/your/repository my_export

If you want to zip this baby up:

zip -r my_export

If you wanted to get really creative, and tag this export as a release, you could something like this:

svn copy file:///path/to/repos/trunk file:///path/to/repos/tags/1.0release -m "tagging version 1.0 release"
svn export file:///path/to/repos/tags/1.0release 1.0release
# for a zip:
zip -r 1.0release/
# for a tgz
tar -czvf 1.0release.tgz*


Posted by in  Web Development   |     |  4 Comments »