[PATCH 4 of 4] hgweb: remove unused Graph() properties

Anton Shestakov av6 at dwimlabs.net
Sat Nov 25 03:50:41 EST 2017


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1511596887 -28800
#      Sat Nov 25 16:01:27 2017 +0800
# Node ID 9a624c9eeee40686548135e763151da278294471
# Parent  06cbefc6daccd825dac7d0ca4a8aba103fec973a
# EXP-Topic hgweb-cleanup
hgweb: remove unused Graph() properties

Both of these were introduced in 0dba955c2636, but were already unused.

diff --git a/mercurial/templates/static/mercurial.js b/mercurial/templates/static/mercurial.js
--- a/mercurial/templates/static/mercurial.js
+++ b/mercurial/templates/static/mercurial.js
@@ -30,11 +30,9 @@ function Graph() {
 	this.ctx.strokeStyle = 'rgb(0, 0, 0)';
 	this.ctx.fillStyle = 'rgb(0, 0, 0)';
 	this.cur = [0, 0];
-	this.line_width = 3;
 	this.bg = [0, 4];
 	this.cell = [2, 0];
 	this.columns = 0;
-	this.revlink = '';
 
 	this.reset = function() {
 		this.bg = [0, 4];


More information about the Mercurial-devel mailing list