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

svn not following redirects

From: Jon Scott Stevens <jon_at_latchkey.com>
Date: 2007-05-11 20:15:19 CEST

Imagine this simple apache configuration:

<Location "/">
        Redirect /trunk/ http://svntest.domain.com/tags/1.0/
        DAV svn
        SVNPath /var/svn/test
</Location>

If i use my browser to go to:

http://svntest.domain.com/trunk/

It gets redirected properly to:

http://svntest.domain.com/tags/1.0/

Now, if I do:

svn co http://svntest.domain.com/trunk/ test

then I get:

svn: URL 'http://svntest.domain.com/trunk' doesn't exist.

So, my question is how can I make svn follow redirects and why
doesn't it already?

The idea that I'm experimenting with is the ability to create what
amounts to an alias. I want to be able to pin a specific tag to a
specific folder and be able to update that tag by just changing the
apache config. svn:externals doesn't quite help in this regard
because svn also wouldn't find that 'trunk' folder either.

jon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 11 20:15:46 2007

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.