--- a/mercurial/commands.py Thu Sep 22 22:46:50 2005 -0700
+++ b/mercurial/commands.py Thu Sep 22 23:19:47 2005 -0700
@@ -264,7 +264,7 @@
if node2:
change = repo.changelog.read(node2)
mmap2 = repo.manifest.read(change[0])
- date2 = util.datestr(change)
+ date2 = util.datestr(change[2])
def read(f):
return repo.file(f).read(mmap2[f])
else:
@@ -282,7 +282,7 @@
change = repo.changelog.read(node1)
mmap = repo.manifest.read(change[0])
- date1 = util.datestr(change)
+ date1 = util.datestr(change[2])
for f in c:
to = None
@@ -319,7 +319,7 @@
return
changes = log.read(changenode)
- date = util.datestr(changes)
+ date = util.datestr(changes[2])
parents = [(log.rev(p), ui.verbose and hex(p) or short(p))
for p in log.parents(changenode)