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

Fwd: About svn client

From: 张扬 <lanseguiji26_at_gmail.com>
Date: Tue, 6 Mar 2012 22:14:02 +0800

---------- 已转发邮件 ----------
发件人: 张扬 <lanseguiji26_at_gmail.com>
日期: 2012年3月6日 下午10:05
主题: Re: About svn client
收件人: Markus Schaber <m.schaber_at_3s-software.com>

Very glad to receive your reply!
    In fact,write a svn client is not my real purpose,I only want to know
how the client communicate with the server.I have read the svnbook,and RFC
3253 that describe the webdav protocol.Then i use wireshark to get the
package to analysis.I checkout a directory from server,and find that in the
package there are two TCP flow,and many propfind request is the same.I
can't understand,so i think that if i know how to implement a client,i can
know why.Maybe i get the wrong way.
    in your reply you said "you should read "the book"
http://svnbook.red-bean.com/en/1.7/ and possibly the design documents in
the source tree, so you understand everything about subversion in general",
design documents include what?Is this "
http://svn.apache.org/repos/asf/subversion/trunk/notes/subversion-design.html".
I've read some of it,and now i'm still puzzled. In the checkout's
package,there are 16 propfind request in five types,can i use five propfind
request to finish the checkout operation?
    It's very glad to get your advise.Maybe my english is not tunnel,hope
you can catch my ideal.

在 2012年3月6日 下午3:45,Markus Schaber <m.schaber_at_3s-software.com>写道:

Hi, 张扬,
>
> Von: 张扬 [mailto:lanseguiji26_at_gmail.com]
>
> > I want to implement a svn client,and i have read the svn design from
> the subversion site.but now,i don't know how to do.should i read the source
> code of the subversion,i remember there is a simple implementation of a
> client,or what doc should i read now. hope your reply!
>
> What kind of client do you want to write, and what is the purpose? The
> more details you give us, the better advise we can give.
>
> General advise:
>
> - First, check the existing clients whether they fulfill your needs. If
> one of them is "nearly" what you want, you could talk to the developers
> whether they extend their client to meet your needs, or if it is free
> software, you can modify it yourself, possibly contributing the changes
> upstream. http://en.wikipedia.org/wiki/Comparison_of_Subversion_clientslists the most known clients.
>
> - Second, if none of the existing clients is near of what you want, you
> should read "the book" http://svnbook.red-bean.com/en/1.7/ and possibly
> the design documents in the source tree, so you understand everything about
> subversion in general.
>
> - For small tasks, scripts using the svn command line utilities might be
> the better solution than writing your own client.
>
> - For some applications, writing a WebDav client running against a
> mod_dav_svn based server might be an alternative.
>
> - In most other cases, you should really base your client on the existing
> subversion libraries, either directly, or by using one of the existing
> language bindings (Perl, Python, SharpSVN, ...) instead of writing
> everything on your own.
>
> - If you need pure java, SvnKit provides an alternative client
> implementation which works without native code.
>
>
> Best regards
>
> Markus Schaber
> --
> ___________________________
> We software Automation.
>
> 3S-Smart Software Solutions GmbH
> Markus Schaber | Developer
> Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax
> +49-831-54031-50
>
> Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
> CoDeSys internet forum: http://forum.3s-software.com
> Download CoDeSys sample projects:
> http://www.3s-software.com/index.shtml?sample_projects
>
> Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner |
> Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
>
>

-- 
张扬
-- 
张扬
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2931472
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-06 15:14:06 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.