Adding .hg to .gitignore and .git to .hgignore.