You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2002/10/30 13:09:28 UTC

svn diff regression bug?

Observe:

cmpilato removed the subversion/tests/xml directory recently.

These commands both work fine:

$ svn ls -r10 http://svn.collab.net/repos/svn/trunk/subversion/tests/xml
$ svn ls -r50 http://svn.collab.net/repos/svn/trunk/subversion/tests/xml

But this command chokes:

$ svn diff -r10:50 http://svn.collab.net/repos/svn/trunk/subversion/tests/xml  

subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
svn: Filesystem has no item
svn: REPORT request failed on /repos/svn/trunk/subversion/tests/xml
subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
svn: file not found: revision `3576', path `/trunk/subversion/tests/xml'

If I'm not mistaken, this is a big regression bug.  We used to have
this problem long ago -- the dav layer would choke if the repos path
didn't exist in HEAD.  We wrote explicit code in mod_dav_svn to search
up parent dirs.  Maybe that solution doesn't apply here for the update
REPORT;  maybe this always been broken.  Either way, should this be
filed as a bug?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff regression bug?

Posted by Philip Martin <ph...@codematters.co.uk>.
andreas.koenig@anima.de (Andreas J. Koenig) writes:

>  >> Looks like a variant on issue 891 which is a switch bug
>  >> 
>  >> http://subversion.tigris.org/issues/show_bug.cgi?id=891
>  >> 
>  >> There is probably a merge variant as well.
> 
> For diff already issued a variant. Apparently something has changed
> since then...
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=940

I think those are separate bugs, in 940 the client is getting invalid
XML, in 891 the client is getting valid XML but it's not the right XML
(possibly the client didn't send the right request).

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff regression bug?

Posted by "Andreas J. Koenig" <an...@anima.de>.
>>>>> On 30 Oct 2002 13:26:49 +0000, Philip Martin <ph...@codematters.co.uk> said:

 >> Looks like a variant on issue 891 which is a switch bug
 >> 
 >> http://subversion.tigris.org/issues/show_bug.cgi?id=891
 >> 
 >> There is probably a merge variant as well.

  > Here's a log variant

  > $ svn log -r10:50  http://svn.collab.net/repos/svn/trunk/subversion/tests/xml
  > ../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
  > svn: Filesystem has no item
  > svn: REPORT request failed on /repos/svn/trunk/subversion/tests/xml
  > ../svn/subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
  > svn: file not found: revision `3576', path `/trunk/subversion/tests/xml'

For diff already issued a variant. Apparently something has changed
since then...

http://subversion.tigris.org/issues/show_bug.cgi?id=940


-- 
andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff regression bug?

Posted by Philip Martin <ph...@codematters.co.uk>.
Philip Martin <ph...@codematters.co.uk> writes:

> Ben Collins-Sussman <su...@collab.net> writes:
> 
> > But this command chokes:
> > 
> > $ svn diff -r10:50 http://svn.collab.net/repos/svn/trunk/subversion/tests/xml  
> > 
> > subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
> > svn: Filesystem has no item
> > svn: REPORT request failed on /repos/svn/trunk/subversion/tests/xml
> > subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
> > svn: file not found: revision `3576', path `/trunk/subversion/tests/xml'
> 
> Looks like a variant on issue 891 which is a switch bug
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=891
> 
> There is probably a merge variant as well.

Here's a log variant

$ svn log -r10:50  http://svn.collab.net/repos/svn/trunk/subversion/tests/xml
../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
svn: Filesystem has no item
svn: REPORT request failed on /repos/svn/trunk/subversion/tests/xml
../svn/subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
svn: file not found: revision `3576', path `/trunk/subversion/tests/xml'


-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff regression bug?

Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:

> But this command chokes:
> 
> $ svn diff -r10:50 http://svn.collab.net/repos/svn/trunk/subversion/tests/xml  
> 
> subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
> svn: Filesystem has no item
> svn: REPORT request failed on /repos/svn/trunk/subversion/tests/xml
> subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
> svn: file not found: revision `3576', path `/trunk/subversion/tests/xml'

Looks like a variant on issue 891 which is a switch bug

http://subversion.tigris.org/issues/show_bug.cgi?id=891

There is probably a merge variant as well.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org