An enum approach does feel a bit more correct than a flag here. Maybe just scm="hg"?