diff -r e35d7f131483 -r 3ceac01bc29f mercurial/commands.py --- a/mercurial/commands.py Fri Mar 25 21:51:00 2016 +0000 +++ b/mercurial/commands.py Sat Mar 19 18:37:10 2016 -0700 @@ -2896,6 +2896,14 @@ ui.write(('file extras: %s (%s)\n') % (filename, ', '.join(extrastrings))) + elif rtype == 'l': + labels = record.split('\0', 2) + labels = [l for l in labels if len(l) > 0] + ui.write(('labels:\n')) + ui.write((' local: %s\n' % labels[0])) + ui.write((' other: %s\n' % labels[1])) + if len(labels) > 2: + ui.write((' base: %s\n' % labels[2])) else: ui.write(('unrecognized entry: %s\t%s\n') % (rtype, record.replace('\0', '\t'))) @@ -2908,7 +2916,7 @@ # sort so that reasonable information is on top v1records = ms._readrecordsv1() v2records = ms._readrecordsv2() - order = 'LOm' + order = 'LOml' def key(r): idx = order.find(r[0]) if idx == -1: