diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4985,9 +4985,8 @@ if hasconflictmarkers: ui.warn(_('warning: the following files still have conflict ' - 'markers:\n ') + - '\n '.join(uipathfn(f) for f in hasconflictmarkers) + - '\n') + 'markers:\n') + ''.join(' ' + uipathfn(f) + '\n' + for f in hasconflictmarkers)) if markcheck == 'abort' and not all and not pats: raise error.Abort(_('conflict markers detected'), hint=_('use --all to mark anyway'))