D5698: wireprotov2peer: rewrite character traversal to use slices

Yuya Nishihara yuya at tcha.org
Fri Jan 25 23:20:39 EST 2019


+  mercurial/wireprotov2peer.py:307:
+   >                 self._ui.debug(_('received %r\n') % frame)
+   don't mark debug messages for translation
+  mercurial/wireprotov2peer.py:513:
+   >     return [True if raw[i:i+1] == b'1' else False for i in range(len(raw))]
+   missing whitespace in expression


More information about the Mercurial-devel mailing list