add tools for working with mercurial repositories