mercurial/crecord.py
changeset 36306 3496bffe266d
parent 36305 a8bca9d0cea0
child 36436 4223bef1489c
--- a/mercurial/crecord.py	Mon Feb 19 00:15:50 2018 +0530
+++ b/mercurial/crecord.py	Mon Feb 19 00:31:01 2018 +0530
@@ -1335,7 +1335,7 @@
         # temporarily disable printing to windows by printstring
         patchdisplaystring = self.printitem(item, ignorefolding,
                                             recursechildren, towin=False)
-        numlines = len(patchdisplaystring) / self.xscreensize
+        numlines = len(patchdisplaystring) // self.xscreensize
         return numlines
 
     def sigwinchhandler(self, n, frame):