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

some doubts about the svn Packet

From: ÕÅÑï <lanseguiji26_at_gmail.com>
Date: Tue, 6 Mar 2012 22:32:15 +0800

Dear All:
    I'm interested in subversion and i want to know how the client
communicate with the subversion based on apache web server.I use
wireshark to get the package when check-out a directory in the server
,and find that after a options method with authorization there are
many propfind methods,and many URL in the propfind command line is
the same,i can't understand,if you want to get the specific version's
URL,just use:
1).Fetch the following properties from the given URL
    DAV:version-controlled-configuration
    svn:baseline-relative-path
    DAV:resourcetype
2). Fetch the DAV:checked-in and a Label header from the VCC(we got
it in the step 1),it points to the Baseline

3).From the Baseline, we fetch the following properties:
    DAV:baseline-collection
    DAV:version-name
and the href in DAV:baseline-collection is the URL we need.

    So,in my opinion,three propfind is enough to checkout a directory.
But the fact is,the client create two TCP connection,and in every
connection client will repeat the 3 steps.I can't find doc to declare
the principle,wish a reply that can release my doubts.
                                                        Thanks.
                                                          Yang Zhang
Received on 2012-03-06 15:32:49 CET

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

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