[PATCH 1 of 2] crecord: drop duplicated set of firstlineofpadtoprint attribute
Denis Laxalde
denis at laxalde.org
Thu Oct 10 10:34:35 UTC 2019
# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1570702823 -7200
# Thu Oct 10 12:20:23 2019 +0200
# Node ID d1e7685793ec19e649370c77965d492a71aed30c
# Parent 52781d57313d512efb7150603104bea3ca11d0eb
crecord: drop duplicated set of firstlineofpadtoprint attribute
The attribute is already set a couple of lines above, in
curseschunkselector.__init__().
diff --git a/mercurial/crecord.py b/mercurial/crecord.py
index 3d66e0f..32f77d8 100644
--- a/mercurial/crecord.py
+++ b/mercurial/crecord.py
@@ -678,9 +678,6 @@ class curseschunkselector(object):
# (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""
More information about the Mercurial-devel
mailing list