check that the current folder looks like a hg checkout