Importing a SVN Dump File

I recently had a need to view some source code that I have stored online in a Subversion host. Trouble is, I haven’t used Subversion for a long time now (Git rules!) and I couldn’t remember how to import the dump file that I’d asked the host to create for me into a local repository. Why not just checkout the repository? Well, at work we don’t use Subversion (TFS, oh joy!) and even after installing it I discovered that it was blocked by the proxy server. I didn’t want to wait around for an admin to open it up for me so a dump file was my next best choice.

Turns out the answer is to use the svnadmin tool (which is included with Visual SVN Server) with the following format:

svnadmin load “path-to-repository” < "path-to-dumpfile"

Once you've got your dump file make sure you uncompress it if necessary, then from the commandline run:

svnadmin load "c:\repositories\myapp" < "c:\myapp.dump"

Just for completeness, in order to backup your SVN repository you can create your own dump file by using the following commmand:

svnadmin dump "c:\repositories\myapp" > "c:\myapp.dump"

and that's it!

Importing a SVN Dump File

The Joel Test Revisited

How does your company score?

The Joel Test is getting on for twelve years old yet still very relevant (although I’d probably add a new question or two regarding TDD practices). You’d think that companies everywhere would score pretty highly these days in this world of modern development practices as it doesn’t exactly recommend anything out of the ordinary. Thinking about the companies I’ve worked at, including my current place, none have reached double figures. Why is that? Is it more likely that a software house will score higher compared to a “normal” business that happens to have an I.T. department? If I’m pushing it I’d say my current place achieves a score of 3 out of 12 which means we’ve some way to go.

How about you? How does your workplace score? And what do you think? Does it matter? Is the test still relevant or more relevant than ever?

The Joel Test Revisited