Mercurial > public > mercurial-scm > hg
diff mercurial/merge.py @ 21172:0f0059af920c stable
merge: improve notes for listing the bids for ambiguous merges
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 21 Apr 2014 20:24:54 +0200 |
parents | 33737ebc6f39 |
children | 9f12d8665c7b |
line wrap: on
line diff
--- a/mercurial/merge.py Fri Apr 18 13:33:20 2014 +0200 +++ b/mercurial/merge.py Mon Apr 21 20:24:54 2014 +0200 @@ -781,9 +781,9 @@ continue # TODO: Consider other simple actions such as mode changes # Handle inefficient democrazy. - repo.ui.note(_(' %s: multiple merge bids:\n') % f) - for a in bidsl: - repo.ui.note(' %s: %s\n' % (f, a[1])) + repo.ui.note(_(' %s: multiple bids for merge action:\n') % f) + for _f, m, args, msg in bidsl: + repo.ui.note(' %s -> %s\n' % (msg, m)) # Pick random action. TODO: Instead, prompt user when resolving a0 = bidsl[0] repo.ui.warn(_(' %s: ambiguous merge - picked %s action\n') %