incorrect time stamps after commit?!

Matt Mackall mpm at selenic.com
Tue Jul 19 22:16:24 UTC 2011


On Wed, 2011-07-20 at 00:07 +0200, Thomas Maier-Komor wrote:
> Hi,
> 
> I'm a little bit confused about the timestamps in the commit log, after 
> 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.

File timestamps play no role in the commit date and are generally
ignored. If no --date option is provided on the command line (and you're
actually using 'hg commit' and not 'hg import' or similar), we get the
date from the system clock.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list