Add shortlog alias and purge extension to Mercurial.