Recipe: SVN post-commit hooks in Perl

As the original SVN documentation about post-commit hooks has obviously been written by Trappist monks (larsbot, did you know they also have a special beer?) and the googlian brute force gives me cranky

64,200 useless results for SVN post-commit hooks

I spent some trial&error time for installing an SVN hook which is supposed to be triggered whenever a document is committed into the SVN repository.

Posted In

Recipe: Creating an SVN project

While there are plenty of tips in the wild how to add a project to an existing SVN repository, I have my own peculiar way to bootstrap one. Say, for moving my topic map knowledge base to SVN.

Let's assume I had a tree already:

ls knowledge/


Move that out of the way:

mv knowledge knowledge.orig

Create the local SVN infrastructure:

mkdir -p knowledge/{tags,branches,trunk}

Yes, bash can do that.

Posted In