[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-14 16:28:17 CEST

If the client is running 'svn checkout' (or 'svn update'), then the
server process which responds has to do *much* more than simply send
file diffs.

1. It needs to parse the status report sent by the client. It then
needs to use this report to build a virtual tree that represents the
client's tree.

2. It must compare the client's tree against a repository revision,
and drive an 'editor' vtable.

3. As one small part of the editor-drive, it sends file diffs.

Is your proxy server doing all this? What I'm not understanding is
how your proxy server is supposed to work. I don't see the forest
through the trees... what's the overall design? Are you going to
rewrite all of 'svnserve' and libsvn_repos from scratch? If not, how
much do you need to write?

Please help us understand the overall design of your proxy.

On Jul 14, 2005, at 1:18 AM, Ramprasad Venkata Inala wrote:

> I wanted to send the diff( I think it is diff from the packet capture
> using ethereal ) to the client.
> I have reached to a stage where I cannot proceed further. I used
> the JNI
> method to achieve(ing) the diff instead of rewriting it in java as
> suggested by you.
> But I am unable to get the exact way to do it.
> I get a diff string from my versioning system then I need to send the
> same to the to svn client that is a client to my proxy.
> Can you help me?
> Thanks and regards
> 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: Ramprasad Venkata Inala
> Sent: Tuesday, July 12, 2005 9:53 AM
> To: 'Ben Collins-Sussman'
> Cc: Max Bowsher; dev@subversion.tigris.org
> Subject: RE: SVN Protocol
>
> Yes sure.
>
> I am trying to do check-out functionality on the repository for the
> first time, to start with
>
> Hence I the client uses the
> "svn co svn://localhost/"
> when such a request is received by the client then the svn proxy
> should
> respond the same way as a svn server.
> Hence the protocol understanding is important to me.
>
> Thanks and Regards
> Ramprasad
> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Friday, July 08, 2005 8:03 PM
> To: Ramprasad Venkata Inala
> Cc: Max Bowsher; dev@subversion.tigris.org
> Subject: Re: SVN Protocol
>
>
> On Jul 7, 2005, at 11:58 PM, Ramprasad Venkata Inala wrote:
>
>
>> I am trying to send the (diff, not sure of it is diff data or not )
>> data
>> using the svn protocol.
>>
>
> The problem is, we don't know what the client expects either, because
> we don't know what command the client is running (i.e. what request
> it is making) You haven't told us.
>
> Instead of talking about everything at the protocol-level, can you
> give us a *high* level description of what is happening?
>
> For example:
>
> "I'm running 'svn cat fileURL', and the client is doing this by
> running svn_ra_get_file()."
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 14 16:29:13 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.