[svk-devel] svk trunk issue with svn 1.5.0

John Goulah jgoulah at gmail.com
Sun Aug 3 12:33:58 EDT 2008


Hi All,

 I'm having an issue with what appears to be the OPTIONS header under
trunk svk alongside svn 1.5.0.  I was told this wasn't working
correctly with the CPAN version and to use the repository.  I'm using
trunk and all the tests pass for me.

 Perhaps someone can give me the advice of whether this is fixable or
if I should rollback completely to 1.4.5 and use the CPAN SVK.
Either way it seems the SVK docs should point out which versions are
compatible , because most people are going to grab the latest SVN
(1.5.1 as of now).


So basically here's what I get:

Depot path: [//mirror/myapp]  # press enter
Authorization failed: OPTIONS of 'http://svn.mydomain.com/svn/myapp':
authorization failed (http://svn.mydomain.com)




When I trace this on the wire I'm getting something like this:


####
T <CLIENT_IP>:55697 -> <SERVER_IP>:80 [AP]
  OPTIONS /svn/myapp HTTP/1.1..Host: svn.mydomain.com..User-Agent:
SVN/1.5.0 (r31699) neon/0.28.2..Keep-Alive: ..Connection: TE,
  Keep-Alive..TE: trailers..DAV:
http://subversion.tigris.org/xmlns/dav/svn/depth..DAV:
http://subversion.tigris.org/xmlns/dav/s
  vn/mergeinfo..DAV:
http://subversion.tigris.org/xmlns/dav/svn/log-revprops..Accept-Encoding:
gzip....
##
T <SERVER_IP>:80 -> <CLIENT_IP>:55697 [AP]
  HTTP/1.1 401 Authorization Required..Date: Sat, 02 Aug 2008 21:33:11
GMT..Server: Apache/2.0.52 (Red Hat)..WWW-Authenticate: B
  asic realm="Authorization Realm"..Content-Length: 482..Connection:
close..Content-Type: text/html; charset=iso-8859-1....<!DOC
  TYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">.<html><head>.<title>401 Authorization
Required</title>.</head><body>.<h1>Authori
  zation Required</h1>.<p>This server could not verify that you.are
authorized to access the document.requested.  Either you sup
  plied the wrong.credentials (e.g., bad password), or your.browser
doesn't understand how to supply.the credentials required.</
  p>.<hr>.<address>Apache/2.0.52 (Red Hat) Server at svn.mydomain.com
Port 80</address>.</body></html>.






And heres output for the same command from an older version (svk cpan
+ svn 1.4.5):


T <CLIENT_IP>:41777 -> <SERVER_IP>:80 [AP]
  PROPFIND /svn/myapp HTTP/1.1..Host: svn.mydomain.com..User-Agent:
SVN/1.4.2 (r22196) neon/0.26.2..Keep-Alive: ..Connection: TE,
   Keep-Alive..TE: trailers..Content-Length: 300..Content-Type:
text/xml..Depth: 0..Accept-Encoding: gzip..Accept-Encoding: gzip
  ....
#
T <CLIENT_IP>:41777 -> <SERVER_IP>:80 [AP]
  <?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcety
  pe xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subve
  rsion.tigris.org/xmlns/dav/"/></prop></propfind>






Any Ideas how to fix this?  Explanation on why its changed from
PROPFIND to OPTIONS?


Thanks!
John


More information about the svk-devel mailing list