changeset 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
files hgext/evolve.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)