diff -r 8d46eaaa589c -r 7b526670f540 mercurial/commands.py --- a/mercurial/commands.py Fri Jan 06 14:34:34 2017 +0100 +++ b/mercurial/commands.py Fri Jan 06 14:35:22 2017 +0100 @@ -5991,6 +5991,15 @@ ui.write(_(' (empty repository)')) else: ui.write(_(' (no revision checked out)')) + if p.troubled(): + ui.write(' (') + troubles = p.troubles() + for idx, trouble in enumerate(troubles, 1): + ui.write(trouble, + label='trouble.%s' % trouble) + if idx < len(troubles): + ui.write(', ') + ui.write(')') ui.write('\n') if p.description(): ui.status(' ' + p.description().splitlines()[0].strip() + '\n',