just in ram

A list of stuff I should remember but never do

Archive for the ‘Subversion’ tag

HOWTO: Add svn:externals in windows using tortoisesvn

with 2 comments

I have a few projects in subversion using the same set of third party tools nant, bdd, mbunit etc. I’ve read its a good idea to put the tools into their own repository and include them in the other projects using an svn:external. The advantage this gives you is any changes you make to the external repository can be updated easily across all projects. Any hoose this is who to do it.

  1. Go to the root of the folder you want to add the externals too.
  2. Right click on the root folder of the project you want to add the external repository to and select TortoiseSVN –> Properties.tortoise_settings[3]   Note: This folder has to be a checked out subversion repository or you’ll not get the context menu! 
  3. You will now see the subversion properties dialog.tortoise_properties[1]
  4. Click the New.. button. You will now see the Add properties dialog.tortoise_add_properties[1]
  5. Select svn:externals from the property name drop down list.
  6. Enter the name you want to give to the external folder followed by the path to your tools repository in property value text area.
    In the example above: tools svn://server/tools/trunk
    Note: You can add more external repositories by simply adding more lines to the property value text area.
  7. Click Ok to add the property will now be listed in the properties dialog.tortoise_properties2[1]
  8. Right click on the root folder and select SVN Update from the menu. Subversion will now pull down the files from the external repository and your done.

Once you check this change in other people checking out from the repository will automatically get the externals folder. Also any changes to the external repository will be updated in this repository on any update. So in this case if I add a new tool or update one of the tools all repositories using this external repository will get the changes on their next update.

Gotchas

  • Don’t forget to give the folder name before the repository address and not just the repository address or you will get an error along the lines of: Error parsing svn:externals property on …tortoise_error[1]

Written by Justin Ramel

June 4th, 2009 at 12:00 am

Posted in Subversion

Tagged with

HOWTO: Download and run Microsoft Report Builder 1.0

with 2 comments

Assuming you have an SQL Server 2005 running reporting services you can run Report builder as a ClickOnce app using the following url:

http://<servername>/reportserver/reportbuilder/reportbuilder.application

Written by Justin Ramel

May 20th, 2009 at 4:58 pm

Posted in General

Tagged with

TortoiseSVN + Global ignore pattern

without comments

Tortoise
build_log.xml *.suo *.user _ReSharper* *.resharper bin obj class build

Written by Justin Ramel

October 10th, 2007 at 1:37 pm

Posted in General, Programming

Tagged with ,