[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix links generated by ?r=REV

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Thu, 14 May 2009 16:49:50 -0500

On Thu, May 14, 2009 at 4:19 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:

> You're right, this is tricky.  But I think the solution is as simple as
> behaving *literally* in the way we interpret the inputs semantically:
> respond to PATH?r=REV[&p=PEGREV] with a "301 Redirect" whose destination is
> the resolved, real location (path + rev) -- that is, REALPATH?p=PEGREV.
> From there, generate only entries links that carry the same p=PEGREV specifier.

Great idea! I never thought I'd like an idea which involved 301 Redirect. :-)

Received on 2009-05-14 23:51:08 CEST

This is an archived mail posted to the Subversion Dev mailing list.