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

diff problems over ra_dav

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-17 21:24:57 CEST

Hi

I noticed the diff tests are failing when run over ra_dav. I have
traced the problem to 'svn diff -rREV1:REV2' failing when run over
ra_dav. The error messagae is

   $ svn diff -r1:2

   ../svn/subversion/libsvn_ra_dav/util.c:314
   svn_error: #21016 : <Trying to use an unsupported feature>
     REPORT request failed on /repo

   ../svn/subversion/libsvn_ra_dav/util.c:161
   svn_error: #21016 : <Trying to use an unsupported feature>
  
   dav_svn_parse_uri does not support that URI form yet.

This error message comes from dav_svn_simple_parse_uri() in
mod_dav_svn/util.c. Here's what I see debugging:

Breakpoint 4, dav_svn_simple_parse_uri (info=0xbffff7b8, relative=0x8162728,
    uri=0x8162690 "http://localhost:8888/repo", pool=0x815ab38)
    at ../svn/subversion/mod_dav_svn/util.c:125
125 if (apr_uri_parse(pool, uri, &comp) != APR_SUCCESS)
(gdb) n
130 path = comp.path;
(gdb)
133 ap_getparents(path);
(gdb) p path
$14 = 0x8162998 "/repo"
(gdb) n
134 ap_no2slash(path);
(gdb)
144 len1 = strlen(path);
(gdb)
145 len2 = strlen(relative->info->repos->root_path);
(gdb) p relative->info->repos->root_path
$15 = 0x810af18 "/repo"
(gdb) n
146 if (len1 < len2
(gdb) p len1
$16 = 5
(gdb) p len2
$17 = 5
(gdb) n
155 path += len2; /* now points to "/" or "\0" */
(gdb)
156 len1 -= len2;
(gdb)
159 if (len1 <= 1)
(gdb)
160 goto unhandled_form;
(gdb) p path
$18 = 0x816299d ""
(gdb) p len1
$19 = 0

Now util.c hasn't changed since rev 1465, and since diff works against
the svn.collab.net repository but fails against my private one (using
apache HEAD from this morning) I suspect an apache interaction.

Anyone else seeing this?

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 17 21:26:17 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.