Added activity extension for mercurial.