diff mx/mx_graal.py @ 15432:62f455eba8c5

Merge
author Miguel Garcia <miguel.m.garcia@oracle.com>
date Tue, 29 Apr 2014 16:16:27 +0200
parents 5947bb02474f
children f73fc9309f12
line wrap: on
line diff
--- a/mx/mx_graal.py	Tue Apr 29 14:51:51 2014 +0200
+++ b/mx/mx_graal.py	Tue Apr 29 16:16:27 2014 +0200
@@ -163,7 +163,7 @@
         rmIfExists(mx.distribution('GRAAL').path)
 
 def export(args):
-    """create archives of builds splitted by vmbuild and vm"""
+    """create archives of builds split by vmbuild and vm"""
 
     parser = ArgumentParser(prog='mx export')
     args = parser.parse_args(args)
@@ -174,8 +174,7 @@
 
     hgcfg = mx.HgConfig()
     hgcfg.check()
-    infos['revision'] = hgcfg.tip('.')
-    infos['revision_dirty'] = hgcfg.isDirty('.')
+    infos['revision'] = hgcfg.tip('.') + ('+' if hgcfg.isDirty('.') else '')
     # TODO: infos['repository']
 
     infos['jdkversion'] = str(mx.java().version)