From: Matt Mackall <mpm@selenic.com>
To: mercurial@selenic.com, git@vger.kernel.org
Subject: Re: hgweb and gitweb: Commit times displayed incorrectly
Date: Tue, 14 Jun 2005 10:38:31 -0700 [thread overview]
Message-ID: <20050614173831.GR26633@waste.org> (raw)
In-Reply-To: <20050614162541.GA27165@intevation.de>
On Tue, Jun 14, 2005 at 06:25:41PM +0200, Thomas Arendsen Hein wrote:
> * 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.
prev parent reply other threads:[~2005-06-14 17:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 15:44 hgweb and gitweb: Commit times displayed incorrectly Radoslaw Szkodzinski
2005-06-14 16:25 ` Thomas Arendsen Hein
2005-06-14 17:38 ` Matt Mackall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050614173831.GR26633@waste.org \
--to=mpm@selenic.com \
--cc=git@vger.kernel.org \
--cc=mercurial@selenic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).