Cleaning after migrating from mercurial to git : remove .hgtags and transform .hgignore into .gitignore