1377 blacklist dependencies

Git excludes dependencies from commit. 
Mercurial just shows a warning because it doesn't support excludes on commits. Just hgignore
Please make sure the warning is just printed if `Mercurial.istype(target)` is `false`.