[PATCH] hgweb: follow renames and copies in file log (issue1576)

Matt Mackall mpm at selenic.com
Wed Apr 6 13:58:56 CDT 2011


On Wed, 2011-04-06 at 14:34 -0400, Kevin Gessner wrote:
> On Wed, Apr 6, 2011 at 2:21 PM, Matt Mackall <mpm at selenic.com> wrote:
> > Actually, looks like we recently added something like this to paper (it
> > was in spartan ages ago):
> >
> > http://www.selenic.com/hg/log/30ab5b8ee8ec/mercurial/localrepo.py
> >
> > See the base link on the first revision. Arguably that should link the
> > file log for mercurial/hg.py at that point, rather than the file change
> > view though.
> 
> Yeah, I added the base links to paper and coal last week
> (1209e1d52b68, issue2452); as you noticed, spartan, gitweb, and others
> have long had it (and all link to the file change view, not the log).

Ahh, that was you!

> So essentially, the base links add "identity" to "position", no? In
> that case, issue2452 fixes issue1576 and this patch isn't needed.

I think it's a pretty good compromise, at least for the file log.

Note that commands like annotate, which are definitely answering
'identity' questions, now follow renames by default.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list