subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Coniguring 301/302 redirects to track an fspath rename
Date Sat, 02 Feb 2013 15:44:00 GMT
Branko ─îibej wrote on Sat, Feb 02, 2013 at 11:20:05 +0100:
> On 01.02.2013 21:33, 'Daniel Shahaf' wrote:
> > Bert Huijben wrote on Fri, Feb 01, 2013 at 21:28:10 +0100:
> >> Why not just leave a top level folder with some readme?
> >>
> > Every time a podling graduates from the incubator, we do a rename:
> >    svn mv ^/incubator/flex ^/flex
> >
> > If we can return 301 whenever somebody does 'svn up' in a wc of
> > ^/incubator/flex, we'll save many users (2-4 projects every month)
> > having to learn about 'svn relocate'.
> 
> I'd have thought a proxy would be easier to set up, and more
> bullet-proof, since it wouldn't depend on magic happening in the client.
> 

Thta doesn't solve the problem --- even if you did a transparent proxy
from /incubator/foo to /foo, you'd still have the problem of allowing
access to historical (pre-rename) revisions of /incubator/foo.

(unless the proxy is somehow peg-revision-aware and translates
'svn ls /incubator/foo@42' to 'svn ls -r42 /foo@HEAD'.)

> Sure, proxying eats more server resources than redirecting.
> 
> -- Brane
> 
> -- 
> Branko ─îibej
> Director of Subversion | WANdisco | www.wandisco.com
> 

Mime
View raw message