# HG changeset patch # User Denis Laxalde # Date 1570702823 -7200 # Node ID ff615b6b5b8f03250dcc6fea1bf1a12f7fe526b7 # Parent 3460eee570f7c71253bb6a875de7b920dbaa44cb crecord: drop duplicated set of firstlineofpadtoprint attribute The attribute is already set a couple of lines above, in curseschunkselector.__init__(). diff -r 3460eee570f7 -r ff615b6b5b8f mercurial/crecord.py --- a/mercurial/crecord.py Thu Oct 10 10:53:13 2019 +0200 +++ b/mercurial/crecord.py Thu Oct 10 12:20:23 2019 +0200 @@ -678,9 +678,6 @@ # (used for determining when the selected item begins/ends) self.linesprintedtopadsofar = 0 - # the first line of the pad which is visible on the screen - self.firstlineofpadtoprint = 0 - # stores optional text for a commit comment provided by the user self.commenttext = b""