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

Re: diff problems over ra_dav

From: <cmpilato_at_collab.net>
Date: 2002-04-17 21:30:06 CEST

Yah, this is the result of sussman's recent diff checkin. He's aware
of it, and working on it. If it's halting your own development, what
worked for me was just patch -R 'ing his commit on my working copy.

--
Philip Martin <philip@codematters.co.uk> writes:
> 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
---------------------------------------------------------------------
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:36:01 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.