Disable Mercurial dirty checks when they are too slow.