summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2009-01-30 20:04:57 -0500
committerAli Saidi <saidi@eecs.umich.edu>2009-01-30 20:04:57 -0500
commitbe5d350afc829acf87aad5e8701f3f67476edc8b (patch)
tree7fefc8581a55a723704ffc9ccaf43ed2aaa36b9b /src/python
parente7293dd24eb15ce568ffbb2f6aa8ae60f88472b1 (diff)
downloadgem5-be5d350afc829acf87aad5e8701f3f67476edc8b.tar.xz
SCons: Fix how we get Mercurial revision information since internals keep changing.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/main.py6
1 files changed, 2 insertions, 4 deletions
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()