we added the code in anticipation of bitbucket support to differentiate between hg and git. I'll be adding bitbucket this week. it may turn out that we don't need it, in which case I'll remove it