HG: Add compiled hg revision and date to the standard M5 output.

This commit is contained in:
Ali Saidi
2008-06-13 01:09:04 -04:00
parent 2b4874449c
commit 907b28cc62
4 changed files with 54 additions and 3 deletions

View File

@@ -268,6 +268,10 @@ def main():
print "M5 compiled %s" % internal.core.cvar.compileDate;
print "M5 started %s" % datetime.datetime.now().ctime()
print "M5 executing on %s" % socket.gethostname()
print "M5 revision %s" % internal.core.cvar.hgRev
print "M5 commit date %s" % internal.core.cvar.hgDate
print "command line:",
for argv in sys.argv:
print argv,