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

Re: SVN Protocol

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-06-20 13:42:18 CEST

Ramprasad Venkata Inala wrote:
> I was able to succeed in establishing the connection. Now was trying to
> show the "checkout" functionality of SVN in my proxy.
> For example I have hard coded the below to be sent to the client.
> The data in the file abcd.txt is like this
> hi
> how r u?
>
> I am using the ethereal to capture the n/w packets. When I caught the
> packets it looked similar to the below except that all the "\0" (marked
> in red) were "." in that ( I was using textpad to view the packet data,
> probably it was not able to recognize the character that is why the "."
> ).
>
> When I send the response to the client it responds with following error
>
> "( failure ( ( 185004 31:Unexpected end of svndiff input
> 72:C:\Home\brane\
> src\svn\subversion-1.1.4\subversion\libsvn_delta\svndiff.c 580 ) ) )"
>
> "( success ( ( ) 0: ) ) ( target-rev ( 3 ) ) ( open-root ( ( 3 ) 2:d0 )
> ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 1:3 ) ) ) (
> change-dir-prop ( 2:d0 24:svn:entry:committed-date (
> 27:2005-06-14T02:32:19.121546Z ) ) ) ( change-dir-prop ( 2:d0
> 14:svn:entry:uuid ( 36:22f49a5e-29f9-0310-991c-db3eef0ae988 ) ) ) (
> add-file ( 8:abcd.txt 2:d0 2:c1 ( ) ) ) ( change-file-prop ( 2:c1
> 23:svn:entry:committed-rev ( 1:1 ) ) ) ( change-file-prop ( 2:c1
> 24:svn:entry:committed-date ( 27:2005-06-10T05:39:03.390282Z ) ) ) (
> change-file-prop ( 2:c1 21:svn:entry:last-author ( 6:rinala ) ) ) (
> change-file-prop ( 2:c1 14:svn:entry:uuid (
> 36:22f49a5e-29f9-0310-991c-db3eef0ae988 ) ) ) ( apply-textdelta ( 2:c1 (
> ) ) )( textdelta-chunk ( 2:c1 4:SVN\0 ) ) ( textdelta-chunk ( 2:c1
> 5:....\0 ) ) ( textdelta-chunk ( 2:c1 1:\0 ) ) ( textdelta-chunk ( 2:c1
> 12:hi\0how r u?\0 ) ) ( textdelta-end ( 2:c1 ) ) ( close-file (2:c1 (
> 32:7f889acd54293409a22e92e1a2481574 ) ) ) ( close-dir ( 2:d0 ) ) (
> close-edit ( ) )"
>
> I am unable to resolve the problem?
> Could anyone help me out as what to be given there and what it really
> means.

Sounds like your proxy is munging the data.
Fix the bug(s) in your proxy so it actually accurately relays the data to the client.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 20 13:44:18 2005

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.