Rewrite code to discover revision of trunk in a way that is not dependent on internal .svn directory contents, which have changed recently.