Hi
All the client is mentioning a
Svn co svn://localhost/
Suppose I have to send the below 2 lines of data, how do I have to send it.
Hi
How r u?
What do u mean by delta? I did not get the below sentence
"you send it a delta (the part with the SVN\0), but the data after that is
just plain text instead of a delta."
Thanks
Ramprasad
-----Original Message-----
**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.
**********************************************************************
From: Erik Huelsmann [mailto:e.huelsmann@gmx.net]
Sent: Wednesday, June 22, 2005 1:19 PM
To: Ramprasad Venkata Inala
Cc: maxb@ukf.net; dev@subversion.tigris.org
Subject: RE: SVN Protocol
Looking at the code, you're not proxy-ing, you're sending data you
'invented' yourself. The data you send the client is in an incorrect format:
you send it a delta (the part with the SVN\0), but the data after that is
just plain text instead of a delta.
You should start really proxy-ing or find a way to produce this static data,
but the protocol part seems to work now.
bye,
Erik.
> --- Ursprüngliche Nachricht ---
> Von: "Ramprasad Venkata Inala" <rinala@cordys.com>
> An: "Max Bowsher" <maxb@ukf.net>, <dev@subversion.tigris.org>
> Betreff: RE: SVN Protocol
> Datum: Wed, 22 Jun 2005 12:06:08 +0530
>
> I tried all-ways but couldn't resolve the problem.
> Please let me know how do I have to send the data.
> Also attached are the files..
>
> Ramprasad
>
> -----Original Message-----
> From: Max Bowsher [mailto:maxb@ukf.net]
> Sent: Monday, June 20, 2005 5:12 PM
> To: Ramprasad Venkata Inala; dev@subversion.tigris.org
> Subject: Re: SVN Protocol
>
> 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.
>
>
> **********************************************************************
> The information in this message is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> message
> by anyone else is unauthorized. If you are not the intended recipient, any
> disclosure, copying, or distribution of the message, or any action or
> omission taken by you in reliance on it, is prohibited and may be
> unlawful.
> Please immediately contact the sender if you have received this message in
> error.
> **********************************************************************
>
>
>
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 23 11:57:15 2005