Submitter | Denis Laxalde |
---|---|
Date | Oct. 10, 2019, 10:34 a.m. |
Message ID | <fa7d08d7cc0ac6e2ffb0.1570703676@steppe.local> |
Download | mbox | patch |
Permalink | /patch/42183/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/crecord.py b/mercurial/crecord.py index 32f77d8..e206e72 100644 --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -1156,7 +1156,7 @@ class curseschunkselector(object): # is reset to 0 at the beginning of printitem() - linesprinted = (xstart + len(t)) / self.xscreensize + linesprinted = (xstart + len(t)) // self.xscreensize self.linesprintedtopadsofar += linesprinted return t