# HG changeset patch # User Anton Shestakov # Date 1516016658 -28800 # Node ID 59c842a3d1e120cd24a4b9e3c579df82edfa01c1 # Parent 48fe4f56a3b4138813ba912b012498ce349c4c24 hgweb: remove unused second argument of nextPageVarGet() nextPageVarGet is a function that's used in ajaxScrollInit() to produce URL of the next page. Before f84b01257e06, its second argument previousVal was a number on /graph pages, and the code was simply adding 60 to it and returning the resulting value. Now previousVal can only be a string containing changeset hash, which can't be used the same way (and in fact isn't used in any way). diff -r 48fe4f56a3b4 -r 59c842a3d1e1 mercurial/templates/gitweb/graph.tmpl --- a/mercurial/templates/gitweb/graph.tmpl Sun Jan 14 20:06:56 2018 -0800 +++ b/mercurial/templates/gitweb/graph.tmpl Mon Jan 15 19:44:18 2018 +0800 @@ -57,7 +57,7 @@ ajaxScrollInit( '{url|urlescape}graph/%next%{graphvars%urlparameter}', '{nextentry%"{node}"}',