From f0c93d06c245337a8480146cfff01bfa24207065 Mon Sep 17 00:00:00 2001 From: Alexander Plavin Date: Sun, 22 Sep 2013 14:18:23 +0400 Subject: [PATCH] hgweb: make infinite scroll handling more generic and extensible Namely, this allows the next page pointer to be not only revision hash given in page code, but also any value computed from the value for previous page. --- mercurial/templates/paper/shortlog.tmpl | 7 +++++-- mercurial/templates/static/mercurial.js | 11 +++++------ tests/test-hgweb-commands.t | 7 +++++-- tests/test-hgweb-empty.t | 14 ++++++++++---- 4 files changed, 25 insertions(+), 14 deletions(-) diff --git a/mercurial/templates/paper/shortlog.tmpl b/mercurial/templates/paper/shortlog.tmpl index 1afcb1bada..7c8bc93b80 100644 --- a/mercurial/templates/paper/shortlog.tmpl +++ b/mercurial/templates/paper/shortlog.tmpl @@ -74,9 +74,12 @@ files, or words in the commit message