ignore .hg/ directories when opening files