Useful hooks and triggers for Mercurial.