[hgrc] add hooks for pre-push