py3: convert bool variables to bytes

This commit is contained in:
Pulkit Goyal 2017-06-02 16:57:21 +05:30
parent 457ca6840f
commit 228f493dac

View File

@ -628,7 +628,8 @@ def _filemerge(premerge, repo, mynode, orig, fcd, fco, fca, labels=None):
# 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]