[PATCH] Provide accurate last-modified times in hgwebdir repository index

Matt Mackall mpm at selenic.com
Mon Jun 25 05:29:58 UTC 2007


On Sun, Jun 24, 2007 at 03:20:28PM -0500, Tom Tobin wrote:
> # HG changeset patch
> # User Tom Tobin <korpios at korpios.com>
> # Date 1182715948 18000
> # Node ID 28ad5556171439749c9b88a71375add2058549f7
> # Parent  a6b62584d0b28edc9bab7035529019742dd83187
> Provide accurate last-modified times in hgwebdir repository index.
> 
> As ``hgwebdir_mod.py`` currently stands, the "last change" times will be
> inaccurate when the repository's path modification time does not match the
> commit time of tip.  This tends to happen if hgwebdir is serving
> remotely-pushed repositories or converted mirrors of non-mercurial
> repositories.  By extracting the commit time from the tip of each repository
> in question, this problem is avoided.

See http://www.selenic.com/mercurial/bts/issue463

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list