# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2017-09-30 10:18:08 # Node ID 6f49ea88d9848a9389f108aee7285614b79a188e # Parent 1a5abc45e2fabbacbf9a8d556d78b68d0eb09dd1 py3: use pycompat.bytestr instead of str Differential Revision: https://phab.mercurial-scm.org/D855 diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -990,7 +990,8 @@ def calculateupdates(repo, wctx, mctx, a 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)