Practicalweb Ltd

Technical information on this site may be out of date : no updates since 2015

Blocking git commits from future merges

August 15, 2013 , posted under svn git version control

I used to use subversion and svnmerge a lot, and there’s just one thing I miss about it. Now svnmerge is a tool to bolt on merge tracking to svn, and gits merge tracking is vastly better in many ways. But the one thing that svnmerge allowed me to do that was cool and doesn’t have a real equivalent in git is to block commits

Read More…

svn merges and excess merginfo properties

July 13, 2011 , posted under svn

The main svn server I’m working on has finally upgraded to svn 1.5 - so easier merging is now possible - hooray.

But we’ve been seeing merges that should only affect one file resulting in property changes on lots of files/directories. This isn’t especially harmful - but it is annoying and makes reviewing the merge harder because of the extra noise.

It turns out that this extra mergeinfo is likely because of earlier merges on subtrees

It is possible to remove the subtree mergeinfo via this command run from the root of the branch

Read More…

Drupal upgrades and patches

October 9, 2010 , posted under drupal svn drush drupal planet patches upgrading

Reading Greg’s post on security upgrades and a few mentions of patches in the following discussion got me thinking about upgrade methods.

The standard Drupal method is to delete existing files and unpack a tarball to replace the old version - I find this method unappealing because: I keep my code in subversion so don’t want to delete the .svn subdirectories, and sometimes I have patches applied that I don’t want to loose.

Read More…

CVS for subversion users

December 30, 2009 , posted under svn cvs reminder to self

I’ve been using version control for a long time, but I haven’t used CVS much since the first day I tried Subversion.

(Git seems great but isn’t the same kind of drop-in upgrade that CVS to Subversion was)

Things I forgot

Read More…

Continuous Integration Testing for Drupal with CruiseControl (part 1)

April 8, 2009 , posted under php drupal testing svn cruisecontrol unit testing agile phpundercontrol

I recently finished work on a project that really suffered from a lack of build tools.

It was a large project, and while many of us were keen on writing tests we weren’t able to get management sign of to spend some time automating the test process. So even though we did some of the work we didn’t get all the benefits.

It was really frustrating to come back to a piece of work that was well covered by unit tests, only to find those tests broken

Read More…

version control with Git

April 2, 2009 , posted under drupal svn git

I’ve been intrigued by git for a while, but as a long time user of svn I’m kinda cautious about moving on.

So today I had some time and used it to read up on the pros and cons, as well as try things out a bit.

It seems to me that git is clearly the better system; but that svn has the advantage of maturity.

Read More…