author | timeless@gmail.com |
Wed, 13 Apr 2016 23:36:44 +0000 | |
changeset 1637 | 078e6777ac15 |
parent 1636 | 13f830540a14 |
child 1638 | 5b7596805f7f |
hgext/evolve.py | file | annotate | diff | comparison | revisions |
--- a/hgext/evolve.py Fri Apr 08 18:45:58 2016 +0000 +++ b/hgext/evolve.py Wed Apr 13 23:36:44 2016 +0000 @@ -1578,6 +1578,8 @@ # plain formatter section hashlen, desclen = 12, 60 desc = ctx.description() + if desc: + desc = desc.splitlines()[0] desc = (desc[:desclen] + '...') if len(desc) > desclen else desc fm.plain('%s: ' % ctx.hex()[:hashlen]) fm.plain('%s\n' % desc)