py3: use pycompat.bytestr instead of str
Differential Revision: https://phab.mercurial-scm.org/D855
--- a/mercurial/merge.py Sat Sep 30 15:45:15 2017 +0530
+++ b/mercurial/merge.py Sat Sep 30 15:48:08 2017 +0530
@@ -990,7 +990,8 @@
else: # only when merge.preferancestor=* - the default
repo.ui.note(
_("note: merging %s and %s using bids from ancestors %s\n") %
- (wctx, mctx, _(' and ').join(str(anc) for anc in ancestors)))
+ (wctx, mctx, _(' and ').join(pycompat.bytestr(anc)
+ for anc in ancestors)))
# Call for bids
fbids = {} # mapping filename to bids (action method to list af actions)