# HG changeset patch # User Nathan Goldbaum # Date 2016-09-14 16:39:47 # Node ID 3664537386aba92ee1b340e6c0428a61190dc73e # Parent 1cc93a1547234e8cd3bf06d62c7af98cc3202cfd crecord: delete commented line diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -719,7 +719,7 @@ class curseschunkselector(object): "scroll the screen to fully show the currently-selected" selstart = self.selecteditemstartline selend = self.selecteditemendline - #selnumlines = selend - selstart + padstart = self.firstlineofpadtoprint padend = padstart + self.yscreensize - self.numstatuslines - 1 # 'buffered' pad start/end values which scroll with a certain