Use relpath to ignore dependencies for mercurial