Adapt the trac-post-commit-hook to recent changes milestone:0.10. Also fixes #3325.
Authored by: cboos 2006-06-26
Parent: [r3485]
Child: [r3487]