Mercurial > hg > mercurial-crew-with-dirclash
changeset 105:6eeb50050486
Date on its own line in file log
author | mpm@selenic.com |
---|---|
date | Wed, 18 May 2005 17:33:46 -0800 |
parents | 20b3e7aad499 |
children | e8d4bbf4c9e2 |
files | hg |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hg +++ b/hg @@ -320,8 +320,9 @@ elif cmd == "log": print "parents: %4d:%s" % (i1, h1) if i2: print " %4d:%s" % (i2, h2) changes = repo.changelog.read(repo.changelog.node(cr)) - print "user: %s date: %s" % (changes[1], time.asctime( - time.localtime(float(changes[2].split(' ')[0])))) + print "user: %s" % changes[1] + print "date: %s" % time.asctime( + time.localtime(float(changes[2].split(' ')[0])))) print "description:" print changes[4] print