diff -r d207510e86ed -r d29091e49e20 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Wed Jul 24 20:02:34 2013 +0400 +++ b/mercurial/hgweb/webcommands.py Fri Aug 09 19:13:34 2013 +0400 @@ -317,7 +317,11 @@ latestentry = entries[:1] oldestentry = entries[-1:] - return tmpl(shortlog and 'shortlog' or 'changelog', changenav=changenav, + template = shortlog and 'shortlog' or 'changelog' + if 'ajax' in req.form: + template += 'ajax' + + return tmpl(template, changenav=changenav, node=ctx.hex(), rev=pos, changesets=count, entries=entries, latestentry=latestentry, oldestentry=oldestentry, diff -r d207510e86ed -r d29091e49e20 mercurial/templates/paper/map --- a/mercurial/templates/paper/map Wed Jul 24 20:02:34 2013 +0400 +++ b/mercurial/templates/paper/map Fri Aug 09 19:13:34 2013 +0400 @@ -7,6 +7,10 @@ changelog = shortlog.tmpl shortlog = shortlog.tmpl +shortlogajax = ' + + {oldestentry%"{node|short}"} + ' shortlogentry = shortlogentry.tmpl graph = graph.tmpl help = help.tmpl