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

tunneling & svn:externals issue?

From: Patrick Sunter <patrick_at_vpac.org>
Date: 2004-03-05 06:05:18 CET


my organisation has switched to svn from cvs, and have in the main been very
happy with it.

Some of our developers live behind a http proxy that doesn't allow all of the
HTTP methods that subversion needs... thus we use the ssh port forwarding
approach described in the FAQ at
http://subversion.tigris.org/project_faq.html#paranoid, which works fine.

However, we also want to use svn:externals so that several of our projects can
automatically check out a shared module of code, and the 2 features don't seem
to work together.

To illustrate:
in the repository directory http://rd01.vpac.org/svn/StGermain/trunk, I set the
svn:externals property to:
spmodeldata http://rd01.vpac.org/svn/SPModel/trunk/data
All good so far, for those of us connecting directly it checks out the requested
eURL into an "spmodeldata" subdirectory.

But if someone is port-forwarding, so e.g. they have checked out the StGermain
repository through the url http://localhost:8888/svn/StGermain/trunk,
then they will be unable to fetch the svn:external due to the aforementioned
http proxy server problem when svn tries to grab it through http directly.

what we'd like to happen is for the http://rd01.vpac.org/svn/SPModel/trunk/data
in the svn:externals to be 'translated' to
http://localhost:8888/svn/SPModel/trunk/data automatically. Does svn have
support for this? I couldn't find any documentation on it, or any relevant
mailing list messages.

Any help greatly appreciated.

cheers, Patrick.

P.S. There was something in the FAQ page above that might be related:
"Joe Orton notes:
The server is sensitive to the hostname used in the Destination header
in MOVE and COPY requests, so you have to be a little careful here - a
"ServerAlias localhost" may be required to get this working properly."

but I'm not super apache savvy so it didn't really click with me.

Patrick Sunter
Visitor in Geophysics
Center for Advanced Computing Research
Mail Code : 158-79
California Institute Of Technology,
Pasadena, CA 91125, USA.
Ph : +1 (1) 626 395 2565
Fax : +1 (1) 626 584 5917
E-Mail : patrick@cacr.caltech.edu
Project Coordinator & Software Engineer
Victorian Partnership for Advanced Computing
E-Mail: patrick@vpac.org
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 6 01:05:53 2004

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