Show date in history
authormpm@selenic.com
Wed, 04 May 2005 17:19:02 -0800
changeset 21 54a57a5ebcb1
parent 20 a664c2b624cf
child 22 40b8c158c540
Show date in history
hg
--- a/hg	Wed May 04 15:42:30 2005 -0800
+++ b/hg	Wed May 04 17:19:02 2005 -0800
@@ -37,7 +37,6 @@
  dumpmanifest [rev]    dump the latest or given revision of the manifest
 """
 
-
 options = {}
 opts = [('v', 'verbose', None, 'verbose'),
         ('d', 'debug', None, 'debug')]
@@ -155,6 +154,8 @@
         print "manifest: %4d:%s" % (repo.manifest.rev(changes[0]),
                                     hg.hex(changes[0]))
         print "user:", changes[1]
+        print "date:", time.asctime(
+            time.localtime(float(changes[2].split(' ')[0])))
         print "files:", " ".join(changes[3])
         print "description:"
         print changes[4]