Mercurial > hg
changeset 41687:fee1a4935c27
resolve: slightly simplify join expression by joining with empty strings
Differential Revision: https://phab.mercurial-scm.org/D5938
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 10 Feb 2019 22:21:45 -0800 |
parents | 935e06e95b91 |
children | ec7bba81ebf4 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Feb 10 22:18:19 2019 -0800 +++ b/mercurial/commands.py Sun Feb 10 22:21:45 2019 -0800 @@ -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'))