# HG changeset patch # User Augie Fackler # Date 1519967956 18000 # Node ID a5eefc9cccc5ce52f3fb2924b785dede2dcbeaf0 # Parent 19ec5da944d59481ab6c4dcbed454763bf947b04 bookmarks: fix a repr in a message on Python 3 Differential Revision: https://phab.mercurial-scm.org/D2544 diff -r 19ec5da944d5 -r a5eefc9cccc5 mercurial/bookmarks.py --- a/mercurial/bookmarks.py Fri Mar 02 00:11:19 2018 -0500 +++ b/mercurial/bookmarks.py Fri Mar 02 00:19:16 2018 -0500 @@ -84,7 +84,7 @@ # - node in nm, for non-20-bytes entry # - split(...), for string without ' ' repo.ui.warn(_('malformed line in .hg/bookmarks: %r\n') - % line) + % pycompat.bytestr(line)) except IOError as inst: if inst.errno != errno.ENOENT: raise