add hg info and gitignore file