If there's both hg and git, which one wins?
Should it be configurable?