D2544: bookmarks: fix a repr in a message on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Mar 2 11:18:44 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa5eefc9cccc5: bookmarks: fix a repr in a message on Python 3 (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2544?vs=6337&id=6357
REVISION DETAIL
https://phab.mercurial-scm.org/D2544
AFFECTED FILES
mercurial/bookmarks.py
CHANGE DETAILS
diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py
--- a/mercurial/bookmarks.py
+++ b/mercurial/bookmarks.py
@@ -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
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list