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

Re: Subversion Doesn't Have Branches aka Crossing the Streams aka Branches as First Class Objects?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 22 May 2013 00:44:26 +0300

Les Mikesell wrote on Tue, May 21, 2013 at 16:40:40 -0500:
> On Tue, May 21, 2013 at 4:19 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > Les Mikesell wrote on Tue, May 21, 2013 at 16:04:59 -0500:
> >> In any case, if you have ever published/announced a URL to your branch
> >> to the group that will use it, you have a bigger problem than with the
> >> tool itself if you change that location after the fact. Rather than
> >> trying to change history with a move you want to pretend didn't
> >> happen, maybe it would be better to just do a copy and have everyone
> >> aware that the location is new.
> >
> > ASF Infra have an httpd module that intercepts attempts to access a URL
> > that has been moved (^/incubator/bar/foo to ^/baz/foo) and issues
> > a permanent redirect (301) response:
> >
> > https://svn.apache.org/repos/infra/infrastructure/trunk/projects/svn_check_path/README
>
> Does that actually work with svn clients? Some time ago I tried to
> do a reverse-proxy in apache to a repository hosted on a different

That module just sends a 301 response, it doesn't try to transparently
proxy anything.

Daniel

> server and it worked when the target path was the same on the remote
> as what the client requested but when the path was different and
> mapped in the proxy, somehow the 'real' path leaked back to the client
> and kept it from working for some operations. Maybe in this case if
> they learn the real path it just works anyway.
>
> --
> Les Mikesell
> lesmikesell_at_gmail.com
Received on 2013-05-21 23:45:02 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.