$ svn sw --relocate https://svn.collab.net/repos https://www.red-bean.com
svn: PROPFIND request failed on '/svn'
svn: Repository moved permanently to 'https://www.red-bean.com/svn/';
If you go to https://www.red-bean.com/svn (note the lack of the
trailing slash and https) you'll
get a redirect to the URL with a trailing slash.
Transcript, captured from Firefox showing the redirect:
GET /svn HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US;
rv:18.104.22.168) Gecko/20070219 Firefox/22.214.171.124
HTTP/1.x 301 Moved Permanently
Date: Sun, 18 Mar 2007 06:49:15 GMT
Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8c DAV/2
SVN/1.4.3 PHP/5.2.0 mod_python/3.2.10 Python/2.4.4
Keep-Alive: timeout=5, max=100
Content-Type: text/html; charset=iso-8859-1
I don't think our switch should be crapping out on a redirect to a URL
that only differs by the trailing slash. It's a fairly standard
configuration of Apache to rewrite URLs without the trailing slash to
include it and then redirect. Apache's documentation even shows you
how to do it as a common configuration:
(See: Trailing Slash Problem).
Our current canonicalization rules remove any trailing slashes.
Considering that it'd be obviously difficult to change the
canonicalization rules at this point. I suspect that we ought to
follow some redirects. At a minimum redirects that differ only by a
In the interim, if someone who has access to the red-bean config can
remove the rewrite rules that add the trailing slash so we can use svn
sw --relocate it would be appreciated. Of course removing them
outright will probably break something else. Making it so that
requests other than GET don't rewrite URLs would probably be enough to
get this working.
But I still think this is a bug and we should look at fixing it client side.
(A side note, I think while our error messages have improved. Boy was
that error message confusing. It's telling me to do what I'm trying
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sun Mar 18 08:27:06 2007