Make .hgrc generic and partial