Improve hook output
Add current revision as 2nd argument to hooks