You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Andrew P McCulloch <am...@truelink.com> on 2002/11/22 18:51:41 UTC

svn diff question

I am new to subversion so this may not be an issue but...

svn diff 'http://<server>/svn/trunk@1' 'http://<server>/svn/trunk@2' produces 
a proper diff, however adding a trailing slash to the URLs (shown below) 
produces an error.  I have read portionas of 'Ben's Quick Summary of WebDAV 
and DeltaV' which states that all collections should end in a trailing slash.  
Is there a reason why the trailing slashes should produce the results below?


> svn diff 'http://<server>/svn/trunk/@1' 'http://<server>/svn/trunk/@2'

svn: RA layer request failed
svn: REPORT request failed on /svn/trunk
svn: REPORT of /svn/trunk: Could not read status line: connection was closed 
by server.

--Andrew




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

Re: svn diff question

Posted by cm...@collab.net.
Fixed in revision 3857.  Thanks for the REPORT--er, the "report".

Andrew P McCulloch <am...@truelink.com> writes:

> I am new to subversion so this may not be an issue but...
> 
> svn diff 'http://<server>/svn/trunk@1' 'http://<server>/svn/trunk@2' produces 
> a proper diff, however adding a trailing slash to the URLs (shown below) 
> produces an error.  I have read portionas of 'Ben's Quick Summary of WebDAV 
> and DeltaV' which states that all collections should end in a trailing slash.  
> Is there a reason why the trailing slashes should produce the results below?
> 
> 
> > svn diff 'http://<server>/svn/trunk/@1' 'http://<server>/svn/trunk/@2'
> 
> svn: RA layer request failed
> svn: REPORT request failed on /svn/trunk
> svn: REPORT of /svn/trunk: Could not read status line: connection was closed 
> by server.

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

Re: svn diff question

Posted by cm...@collab.net.
Andrew P McCulloch <am...@truelink.com> writes:

> I am new to subversion so this may not be an issue but...
> 
> svn diff 'http://<server>/svn/trunk@1' 'http://<server>/svn/trunk@2'
> produces a proper diff, however adding a trailing slash to the URLs
> (shown below) produces an error.

Barring a server-related problem, I think this is a bug in the
client's argument parsing code.  I'm checking a theory right now.  I
think that we are failing to canonicalize the URL after parsing out
the @REV portion, which leaves a URL with a trailing slash, something
disallowed by our public APIs.

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