Combine Git and Hg functions into Is-VCSRoot