py3: drop b'' from debug message "moving bookmarks"
authorYuya Nishihara <yuya@tcha.org>
Tue, 06 Mar 2018 07:24:12 -0600
changeset 36836 a00c38b33047
parent 36835 5bc7ff103081
child 36837 472c68cda3f8
py3: drop b'' from debug message "moving bookmarks"
contrib/python3-whitelist
mercurial/scmutil.py
--- a/contrib/python3-whitelist	Sat Mar 10 15:57:16 2018 +0900
+++ b/contrib/python3-whitelist	Tue Mar 06 07:24:12 2018 -0600
@@ -25,6 +25,7 @@
 test-bookmarks-rebase.t
 test-bookmarks-strip.t
 test-bookmarks.t
+test-branch-change.t
 test-branch-option.t
 test-branch-tag-confict.t
 test-branches.t
--- 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)