suggestion: diff link on file views

Matt Mackall mpm at selenic.com
Tue Mar 3 00:53:05 CST 2009


On Tue, 2009-03-03 at 07:35 +0100, Dirkjan Ochtman wrote:
> On 02/03/2009 23:21, Nicholas Tung wrote:
> >      I think a diff link on the individual file view would be useful,
> > for example, at
> > http://selenic.com/repo/index.cgi/hg/diff/6d99ff7b79b5/hgeditor
> >      clicking on the "parent" link brings one back to the file view.
> 
> Ah, you're saying the parents/children link on the file diff view should 
> link to file diffs for the parents/children, instead of the full copy? 
> That seems somewhat reasonable.
> 
> >      Also, clicking hgwebdir.cgi doesn't actually allow the file to be
> > viewed
> > http://selenic.com/repo/index.cgi/hg/file/6d99ff7b79b5/hgwebdir.cgi#l1
> 
> There's probably some silly reason why it does weird things to .cgi 
> files. I wonder if this is a security risk?

It's a default Apache config issue.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list