Mercurial > hg > graal-compiler
changeset 15420:5947bb02474f
mx export: change the way of marking a repo as dirty
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 28 Apr 2014 17:22:45 +0200 |
parents | f093fa76e872 |
children | f8907fc0cbe6 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Tue Apr 29 14:26:39 2014 +0200 +++ b/mx/mx_graal.py Mon Apr 28 17:22:45 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)