py3: convert bool variables to bytes
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 02 Jun 2017 16:57:21 +0530
changeset 32753 264b86cf2092
parent 32752 dc7efa2826e4
child 32754 723de0ad3d8b
py3: convert bool variables to bytes
mercurial/filemerge.py
--- a/mercurial/filemerge.py	Fri Jun 09 13:07:49 2017 +0900
+++ b/mercurial/filemerge.py	Fri Jun 02 16:57:21 2017 +0530
@@ -628,7 +628,8 @@
         # normalize to new-style names (':merge' etc)
         tool = tool[len('internal'):]
     ui.debug("picked tool '%s' for %s (binary %s symlink %s changedelete %s)\n"
-             % (tool, fd, binary, symlink, changedelete))
+             % (tool, fd, pycompat.bytestr(binary), pycompat.bytestr(symlink),
+                    pycompat.bytestr(changedelete)))
 
     if tool in internals:
         func = internals[tool]