Remove old .git and .hg stuff.