Riaan Lehmkuhl's Blog

Subversion, Progamming, Tips & Tricks and whatever else springs to mind.
07Jul

svn:externals with a space in the directory name [2]

07 July 2008 23:52 by Riaan Lehmkuhl
As promised I've published the code and instructions to my previous post...
Go and have a look on CodeProject:

Workaround: svn:externals with a space in the directory name:
TSVN Post-Update hook utility for using svn:externals with a space in the directory name
http://www.codeproject.com/KB/files/Percent20toSpace.aspx

Please let me know what you think.

Currently rated 3.0 by 5 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
27Jun

Create CheckBox Option groups

27 June 2008 23:45 by Riaan Lehmkuhl
CheckBoxOptionGroups  
I was recently given a website to make changes on. The HTML was already done and signed off by the client, and could thus not be changed.
Then I came across a bunch of options that needed to be saved to the db and instead of using RadioButtonList controls, there was a table containing a lot of CheckBox controls.
To simulate the RadioButtonList behaviour for the CheckBox groups, one could use AutoPostBack and a bunch of if statements. Also don't forget all the db access code that has to be written to save the selections to the database.
This would lead to a horrible UI, and difficult to maintain back end.

I've posted my solution to CodeProject:
http://www.codeproject.com/KB/aspnet/CheckBoxOptionGroups.aspx

Currently rated 3.0 by 5 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
26Jun

Customise VisualSVN Server browser view

26 June 2008 23:24 by Riaan Lehmkuhl
VisualSVN Server is a basic package of Subversion with the Apache web server and a visual management console (MMC).
The VisualSVN Server browser view is very basic, but it is easy to customise via the provided XSLT stylesheet. Just keep in mind that the files are auto generated and can be overwritten by the VisualSVN Server management console. Always backup any files before editing them.
There are two things that I think is very handy when using the SVN browser view:
  1. A shortcut for TortoiseSVN checkout.
  2. While developers will most likely have a SVN client installed, the same can not always be said for project managers and document writers and to explain the concepts of how the versioning works can be a pain.The solution to this is auto versioning and the ability to open repository directories with Windows Explorer (web folder).

Let's start...
I will assume the default install location for VisualSVN Server: 'c:\Program Files\VisualSVN Server'.
Add these tho images to the 'htdocs' folder: Checkout with TortoiseSVN and Open Folder with Windows Explorer.
In the 'htdocs' folder you should find 'svnindex.xsl'. This is the stylesheet that renders the WebDAV xml in your browser. Open the file in your favourite text editor and find the '<xsl:template match="dir">...<xsl:template>' section. Replace the following bit
More...

Currently rated 3.0 by 5 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
31Dec

SvnPerms dot Net

31 December 2006 21:30 by Riaan Lehmkuhl
C# port of svnperms.py pre-commit hook script.

I've just posted my first article to The Code project.
Check it out at SvnPerms dot Net.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Riaan Lehmkuhl


Me, a disorder of the brain that results in a disruption in a person's thinking, mood, and ability to relate to others.

Recent comments

Comment RSS

Thingies

Calendar And Month List

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Disclaimer & Privacy

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Privacy:
We use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

Most comments

Kevin Kevin
1 comments
gb United Kingdom
Moneymaker Moneymaker
1 comments
Indonesia Java International Destination Indonesia Java International Destination
1 comments
us United States

Cool Quote

I know that you believe that you understood what you think I said, but I am not sure you realize that what you heard is not what I meant. - Robert McCloskey