hgweb: Last change not as old as tip

Matt Mackall mpm at selenic.com
Mon Sep 26 16:58:01 CDT 2005

On Mon, Sep 26, 2005 at 04:16:04PM -0400, Theodore Ts'o wrote:
> On Sun, Sep 25, 2005 at 09:23:48PM -0700, Matt Mackall wrote:
> > The commit time is when a commit was first committed to a Mercurial
> > repo. Last change is when the repo in question last changed. If it's
> > freshly cloned or pushed to from a repo with an old tip, those times
> > will be different.
> > 
> > Then the question becomes: don't we want to show the commit time
> > instead? The answer is no: the repo has new content in it. If I have a
> > commit that I forget to push all weekend and you've been waiting for
> > it, you want to see "last change" say "now" rather than "2 days ago"
> > when I actually push it.
> Is there any way we can show both dates?

It can be done, but it will be much slower than stat. There's also not
a lot of space left in the one line display for a second time.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial mailing list