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

[Bug] svn merge, apache and trailing slashes

From: Carsten Milkau <chat.noir_at_arcor.de>
Date: Sat, 24 May 2008 21:37:48 +0200

Hi there!

Problem: I noticed that svn merge strips off trailing slashes from directory
URLs. However, apache enforces them. This results in a failure of recursive
merges.

Expected Reaction: SVN should either follow apache's redirects or keep
trailing slashes if present.

Subversion: 1.4.6
Apache: 2.2.8

Command to reproduce (adjust the URI):
svn merge -c 99 http://localhost/svn/repos/trunk/phenny/

Request sent by svn:
GET /svn/repos/!svn/bc/98/trunk/phenny HTTP/1.1
Host: localhost
User-Agent: SVN/1.4.6 (r28521) neon/0.26.4
Connection: TE
TE: trailers
Accept-Encoding: gzip
Authorization: Basic Y2FtaTp1cGE0dXZrNw==

Apache reply (only headers):
HTTP/1.1 301 Moved Permanently
Date: Sat, 24 May 2008 16:21:36 GMT
Server: Apache
Location: http://localhost/svn/repos/!svn/bc/98/trunk/phenny/
Content-Length: 318
Content-Type: text/html; charset=iso-8859-1

With Regards
Carsten Milkau

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-24 22:30:06 CEST

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