Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bookmarks.py @ 36597:a5eefc9cccc5
bookmarks: fix a repr in a message on Python 3
Differential Revision: https://phab.mercurial-scm.org/D2544
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 02 Mar 2018 00:19:16 -0500 |
parents | bfb4494f846d |
children | a494cccb673e |
line wrap: on
line diff
--- 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