[csw-maintainers] Fwd: incorrect time stamps after commit?!

rupert THURNER rupert at opencsw.org
Wed Jul 20 16:37:30 CEST 2011

corrposting from the mercurial mailing list, as this is on solaris.
did anybody of you see such a phenomen that a file timestamp is
correct, and the mercurial commit timestamp is one day early? pls cc
thomas as he is not on our list.


---------- Forwarded message ----------
From: Thomas Maier-Komor <thomas at maier-komor.de>
Date: Jul 20, 12:07 am
Subject: incorrect time stamps after commit?!
To: mercurial


I'm a little bit confused about the timestamps in the commit log,
I just commit a changeset to a local repository (commit no push).

The commit was at about Jul 19 23:57. Last change to one of the
committed files was (as can be seen below) at 23:54.

thomas at azalin:~/src/mbuffer% ls -l mbuffer.c
-rw-r--r--   1 thomas   thomas     65235 Jul 19 23:53 mbuffer.c
thomas at azalin:~/src/mbuffer% hg tip
changeset:   221:5970604006e6
tag:         tip
user:        Thomas Maier-Komor <tho... at maier-komor.de>
date:        Mon Jul 18 23:25:12 2011 +0200
summary:     added interactive prompting mode

thomas at azalin:~/src/mbuffer% hg diff -c 221 mbuffer.c | diffstat
  mbuffer.c |  120
  1 file changed, 87 insertions(+), 33 deletions(-)
thomas at azalin:~/src/mbuffer% hg version
Mercurial Distributed SCM (version 1.8.4)
(seehttp://mercurial.selenic.comfor more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is
thomas at azalin:~/src/mbuffer% uname -a
SunOS azalin 5.10 Generic_144488-05 sun4u sparc SUNW,Sun-Blade-2500

But still the message log say I did the commit was done yesterday,
hours ago!

This is a local filesystem! No NFS, no CIFS or the like. Just Solaris
with native ZFS if it matters at all.

The filesystem time stamps look correct, but the commit entry looks
broken. The same for the one before. I cannot comment on older

This is with Mercurial 1.8.4.

The Locale was set to de_DE.ISO8859-1 and I reset it to generate the
output above. The time on the machine is correct and synced via NTP...

Any ideas?

- Thomas
Mercurial mailing list
Mercur... at selenic.comhttp://selenic.com/mailman/listinfo/mercurial

More information about the maintainers mailing list