Posts Tagged ‘subversion’
Thursday, June 28th, 2012 by Jesper Rønn-Jensen
In a current project I use a lot of Subversion (svn) from the command-line. Subversion recently has lost terrain to Git for several reasons. But actually, svn is capable of doing many of the things I love from Git. Here are some less known commands I find extremely helpful. Undo last commit svn merge […]
Tags: Code, git, subversion, svn
Posted in Code, Web Development | Comments Off on Forgotten Subversion Commands, Undo, Merge Branches and More
Tuesday, March 1st, 2011 by Jesper Rønn-Jensen
I had to repair a flawed Subversion repository recently (not all files were committed). I had my local repository checked out. This was the flawed part, containing only parts of the folders and files it should. Then, I got a zip file from the machine where it was working. Problem: It contained .svn folders from […]
Tags: subversion, svn, Web Development, windows
Posted in justaddwater.dk | 4 Comments »
Thursday, June 10th, 2010 by Jesper Rønn-Jensen
At a current project I work on, we use a Windows server to run our subversion repository. I wanted to set up the pre-commit hook so that commits with empty comment are automatically rejected. All commit-hook example files that go with Subversion are written in bash (as unix servers tend to be the normal). Here […]
Tags: Code, subversion, svn, windows
Posted in Code | 2 Comments »
Wednesday, July 8th, 2009 by Jesper Rønn-Jensen
Many of my colleagues know svn but are in general not (yet) ready jump over to using Git for bigger projects. Today I had to import my existing Git repository into SVN. I had been working locally with a Git repos and wanted to keep my history before giving access to my colleagues. The guide […]
Tags: Code, git, subversion, svn, Web Development
Posted in Code | 7 Comments »
Tuesday, April 29th, 2008 by Jesper Rønn-Jensen
Quick Subversion trick: I asked at the office today if anyone could figure out a method for doing a dry-run to see what files would be updated if you do an “svn update” from repository. My colleague Mads came up with this: jesper:test_project jesper$ svn merge –dry-run -r BASE:HEAD . U app/helpers/application_helper.rb U app/controllers/reports_controller.rb A […]
Tags: subversion
Posted in justaddwater.dk | 12 Comments »