Friday, 18 July 2008

Subversion reported an error while creating a repository!

I now realise why hardly anyone uses Open Source software: it sucks!

I installed TortoiseSVN right clicked the desktop and tried to create a repository. I have done this with a previous release of TortoiseSVN, so I know what I was trying to do.

One would have thought that the creators of this allegedly good version control system would have at least tested it enough to know of this mis-feature.

Right now I am still searching for an answer, but Google is useless when it comes to obscure software.

If anyone finds out, please let me know in the comments.

Saturday, 12 July 2008

Checking out the NMock Source Tree

At work I am primarily a .NET developer and we use NMock in our unit testing (together with NUnit).

NMock has some very cool functionality that is so mind boggling that you would wonder how it is done. For example you can instantiate an interface and add methods dynamically to this object. This same functionality is also a part of for example the Python programming language but python sucks due to its lack of speed.

It was not too hard to figure out how to checkout/get the NMock source tree but as with most Unix tools, they make it far harder than it needs to be. So here are the steps I carried out:

1. Download and install TortoiseSVN. Reboot.
2. make a folder called "nmock_source" or whatever you want to call it.
3. open a cmd prompt and cd to this directory.
4. type the following into the command prompt
It will then as you for a password. Just press enter. You will now be returned to the command prompt.
5. Now type the following to actually get all the source in the repository

Although the above steps are fairly straightforward, messing around with unix tools are a verifiable blackhole for time.