changeset 17581:54c832922e85

Merge with stable
author Patrick Mezard <patrick@mezard.eu>
date Mon, 17 Sep 2012 21:53:50 +0200
parents 81a033bb29bc (current diff) ffe3630cb243 (diff)
children 55724f42fa14 61cd71dc3797
files tests/test-hgweb-commands.t
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/gitweb/graph.tmpl	Sat Sep 15 21:43:05 2012 +0200
+++ b/mercurial/templates/gitweb/graph.tmpl	Mon Sep 17 21:53:50 2012 +0200
@@ -59,7 +59,7 @@
 	this.ctx.fill();
 	
 	var bg = '<li class="bg parity' + parity + '"></li>';
-	var left = (this.columns + 1) * this.bg_height;
+	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
 	var nstyle = 'padding-left: ' + left + 'px;';
 	
 	var tagspan = '';
--- a/mercurial/templates/monoblue/graph.tmpl	Sat Sep 15 21:43:05 2012 +0200
+++ b/mercurial/templates/monoblue/graph.tmpl	Mon Sep 17 21:53:50 2012 +0200
@@ -57,7 +57,7 @@
         this.ctx.fill();
 
         var bg = '<li class="bg parity' + parity + '"></li>';
-        var left = (this.columns + 1) * this.bg_height;
+        var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
         var nstyle = 'padding-left: ' + left + 'px;';
 
         var tagspan = '';
--- a/mercurial/templates/paper/graph.tmpl	Sat Sep 15 21:43:05 2012 +0200
+++ b/mercurial/templates/paper/graph.tmpl	Mon Sep 17 21:53:50 2012 +0200
@@ -70,7 +70,7 @@
 	this.ctx.fill();
 	
 	var bg = '<li class="bg parity' + parity + '"></li>';
-	var left = (this.columns + 1) * this.bg_height;
+	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
 	var nstyle = 'padding-left: ' + left + 'px;';
 
 	var tagspan = '';
--- a/mercurial/templates/spartan/graph.tmpl	Sat Sep 15 21:43:05 2012 +0200
+++ b/mercurial/templates/spartan/graph.tmpl	Mon Sep 17 21:53:50 2012 +0200
@@ -51,7 +51,7 @@
 	this.ctx.fill();
 	
 	var bg = '<li class="bg parity' + parity + '"></li>';
-	var left = (this.columns + 1) * this.bg_height;
+	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
 	var nstyle = 'padding-left: ' + left + 'px;';
 	var item = '<li style="' + nstyle + '"><span class="desc">';
 	item += '<a href="{url}rev/' + cur[0] + '{sessionvars%urlparameter}" title="' + cur[0] + '">' + cur[3] + '</a>';
--- a/tests/test-hgweb-commands.t	Sat Sep 15 21:43:05 2012 +0200
+++ b/tests/test-hgweb-commands.t	Mon Sep 17 21:53:50 2012 +0200
@@ -988,7 +988,7 @@
   	this.ctx.fill();
   	
   	var bg = '<li class="bg parity' + parity + '"></li>';
-  	var left = (this.columns + 1) * this.bg_height;
+  	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
   	var nstyle = 'padding-left: ' + left + 'px;';
   	
   	var tagspan = '';
--- a/tests/test-hgweb-empty.t	Sat Sep 15 21:43:05 2012 +0200
+++ b/tests/test-hgweb-empty.t	Mon Sep 17 21:53:50 2012 +0200
@@ -258,7 +258,7 @@
   	this.ctx.fill();
   	
   	var bg = '<li class="bg parity' + parity + '"></li>';
-  	var left = (this.columns + 1) * this.bg_height;
+  	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
   	var nstyle = 'padding-left: ' + left + 'px;';
   
   	var tagspan = '';