sanitise gitignore
take head of connect-architect
only use mercurial if it's installed..