evolve: use hex in list output
authortimeless@gmail.com
Thu, 21 Apr 2016 06:11:57 +0000
changeset 1681 db1db8633b8c
parent 1680 7caa5f2040c5
child 1682 fe4b41a2af4e
evolve: use hex in list output
hgext/evolve.py
--- a/hgext/evolve.py	Wed Apr 20 19:00:13 2016 +0000
+++ b/hgext/evolve.py	Thu Apr 21 06:11:57 2016 +0000
@@ -1625,9 +1625,10 @@
             troubles.append({'troubletype': 'bumped', 'sourcenode': imprec,
                              'sourcetype': 'immutableprecursor'})
         for dset in dsets:
-            divnodes = [{'node': n} for n in dset['divergentnodes']]
+            divnodes = [{'node': node.hex(n),
+                        } for n in dset['divergentnodes']]
             troubles.append({'troubletype': 'divergent',
-                             'commonprecursor': dset['commonprecursor'],
+                             'commonprecursor': node.hex(dset['commonprecursor']),
                              'divergentnodes': divnodes})
         fm.data(troubles=troubles)