added Mercurial refresh check