git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: hgweb and gitweb: Commit times displayed incorrectly

From
MMMatt Mackall <mpm@selenic.com>
Date
Jun 14, 2005, 17:38 UTC
Message-ID
<20050614173831.GR26633@waste.org>
In-Reply-To
<20050614162541.GA27165@intevation.de>
On Tue, Jun 14, 2005 at 06:25:41PM +0200, Thomas Arendsen Hein wrote:
Show 23 quoted lines
> * Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl> [20050614 17:45]:
> > Who is wrong there, especially with hours count?
> > Here it's 17:43 +0200
> > 
> > hgweb:
> > *16 hours ago: *
> 
> http://www.kernel.org/hg/?cmd=changelog;rev=30069
> 
> > gitweb:
> > /11 hours ago/
> 
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=log;h=e2c16499515aa044676a14b97a1b8a35f879152a
> 
> > My clone:
> > author Jon Smirl <jonsmirl@gmail.com> Mon, 13 Jun 2005 15:52:36 -0700
> > committer Linus Torvalds <torvalds@ppc970.osdl.org> Mon, 13 Jun 2005 20:58:58 -0700
> 
> Both are correct.
> 
> hgweb uses the timestamp of the "author" line, gitweb uses the
> timestamp of the "commiter" line. Mercurial (hg) doesn't distinguish
> author and commiter, therefore it uses the earlier time.

I may change this. One of the goals here is to have enough information to generate git-compatible exports. Possibly through an extended version of hgweb (hgitweb?).

So I'm eventually going to preserve both fields. The question is how. Do we want separate author and committer fields in Mercurial?

-- 
Mathematics is the supreme nostalgia of our time.
Previous: Thomas Arendsen Hein
Message 3 of 3 in “hgweb and gitweb: Commit times displayed incorrectly”
  1. Radoslaw SzkodzinskiJun 14, 2005
  2. Thomas Arendsen HeinJun 14, 2005
  3. Matt MackallJun 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.