Mercurial > evolve
changeset 1682:fe4b41a2af4e
evolve: include node, rev, desc, and phase in list
author | timeless@gmail.com |
---|---|
date | Thu, 21 Apr 2016 06:12:20 +0000 |
parents | db1db8633b8c |
children | 1b1c8c0ab20e |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Thu Apr 21 06:11:57 2016 +0000 +++ b/hgext/evolve.py Thu Apr 21 06:12:20 2016 +0000 @@ -1592,6 +1592,7 @@ desc = (desc[:desclen] + '...') if len(desc) > desclen else desc fm.plain('%s: ' % ctx.hex()[:hashlen]) fm.plain('%s\n' % desc) + fm.data(node=ctx.hex(), rev=ctx.rev(), desc=desc, phase=ctx.phasestr()) for unpar in unpars if showunstable else []: fm.plain(' unstable: %s (unstable parent)\n' % unpar[:hashlen]) @@ -1626,6 +1627,7 @@ 'sourcetype': 'immutableprecursor'}) for dset in dsets: divnodes = [{'node': node.hex(n), + 'phase': repo[n].phasestr(), } for n in dset['divergentnodes']] troubles.append({'troubletype': 'divergent', 'commonprecursor': node.hex(dset['commonprecursor']),