From be5d350afc829acf87aad5e8701f3f67476edc8b Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 30 Jan 2009 20:04:57 -0500 Subject: SCons: Fix how we get Mercurial revision information since internals keep changing. --- src/python/m5/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/python') diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 38adac632..3edeccc10 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -192,8 +192,7 @@ def main(): print 'Build information:' print print 'compiled %s' % defines.compileDate; - print "revision %s:%s" % (defines.hgRev, defines.hgId) - print "commit date %s" % defines.hgDate + print "revision %s" % defines.hgRev print 'build options:' keys = defines.buildEnv.keys() keys.sort() @@ -268,8 +267,7 @@ def main(): print print "M5 compiled %s" % defines.compileDate; - print "M5 revision %s:%s" % (defines.hgRev, defines.hgId) - print "M5 commit date %s" % defines.hgDate + print "M5 revision %s" % defines.hgRev print "M5 started %s" % datetime.datetime.now().strftime("%b %e %Y %X") print "M5 executing on %s" % socket.gethostname() -- cgit v1.2.3