comparison hgext/evolve.py @ 1681:db1db8633b8c

evolve: use hex in list output
author timeless@gmail.com
date Thu, 21 Apr 2016 06:11:57 +0000
parents 7caa5f2040c5
children fe4b41a2af4e
comparison
equal deleted inserted replaced
1680:7caa5f2040c5 1681:db1db8633b8c
1623 'sourcetype': 'obsoleteparent'}) 1623 'sourcetype': 'obsoleteparent'})
1624 for imprec in imprecs: 1624 for imprec in imprecs:
1625 troubles.append({'troubletype': 'bumped', 'sourcenode': imprec, 1625 troubles.append({'troubletype': 'bumped', 'sourcenode': imprec,
1626 'sourcetype': 'immutableprecursor'}) 1626 'sourcetype': 'immutableprecursor'})
1627 for dset in dsets: 1627 for dset in dsets:
1628 divnodes = [{'node': n} for n in dset['divergentnodes']] 1628 divnodes = [{'node': node.hex(n),
1629 } for n in dset['divergentnodes']]
1629 troubles.append({'troubletype': 'divergent', 1630 troubles.append({'troubletype': 'divergent',
1630 'commonprecursor': dset['commonprecursor'], 1631 'commonprecursor': node.hex(dset['commonprecursor']),
1631 'divergentnodes': divnodes}) 1632 'divergentnodes': divnodes})
1632 fm.data(troubles=troubles) 1633 fm.data(troubles=troubles)
1633 1634
1634 fm.end() 1635 fm.end()
1635 1636