mercurial/scmutil.py
changeset 36836 a00c38b33047
parent 36695 c442c4a92ae8
child 37084 f0b6fbea00cf
--- a/mercurial/scmutil.py	Sat Mar 10 15:57:16 2018 +0900
+++ b/mercurial/scmutil.py	Tue Mar 06 07:24:12 2018 -0600
@@ -689,7 +689,8 @@
                 continue
             from . import bookmarks # avoid import cycle
             repo.ui.debug('moving bookmarks %r from %s to %s\n' %
-                          (oldbmarks, hex(oldnode), hex(newnode)))
+                          (util.rapply(pycompat.maybebytestr, oldbmarks),
+                           hex(oldnode), hex(newnode)))
             # Delete divergent bookmarks being parents of related newnodes
             deleterevs = repo.revs('parents(roots(%ln & (::%n))) - parents(%n)',
                                    allnewnodes, newnode, oldnode)