Copy .gitignore from .hgignore
remove deprication warning to use config parameters