---------- 已转发邮件 ----------
发件人： 张扬 <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 "
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>写道：
> 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
> Email: firstname.lastname@example.org | Web: http://www.3s-software.com
> CoDeSys internet forum: http://forum.3s-software.com
> Download CoDeSys sample projects:
> Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner |
> Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-06 15:14:06 CET