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

Re: "svn" protocol - some explanations needed.

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-19 17:55:11 CEST

As Ben points out, svn_ra.h and friends may help you understand these
things better, but I'll try to answer in case they don't.

On Thu, 2004-08-19 at 08:44, Alexander Kitaev wrote:
> What is the purpose of "delete-path" and "link-path" report-mode commands?
> When they should be used? I hope I do understand correctly, that "set-path"
> command describes server local workspace revision and root?

I don't understand the phrase "server local workspace revision". The
reporter commands describe the client's working-copy revisions. You use
delete-path to describe that the client is missing a particular part of
the working copy, and link-path to describe that a part of the working
copy is pointed off into some other part of the repository (due to "svn
switch" having been executed in a subdir, generally).

> 2. switch, diff, status commands
>
> What are the above commands for? What exactly their parameters means and
> what is the meaning of the commands received in the "edit-mode" by the
> client after the command sent to server? Isn't it enough to have only
> "update" command as it provides the similar output?

I'll refer you to the RA documentation on this point.

> 3. command parameters
>
> In the protocol documentation there are several terms used like "path",
> "target" and "url" as the names of command parameters. What is the different
> between those three types of parameter? For instance, I've managed to
> execute "update" command only with emty string "target" parameter and this
> is probably means that this parameter not what I think it is :)

Again, the ra documentation should make these clear. An empty string
for "target" in the update command would mean that the target is
described by the URL given at connection open time; any path you gave
would be relative to this URL.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 19 17:55:26 2004

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.