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

Re: sense of svn switch?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-08-23 14:16:21 CEST

solo turn <soloturn99@yahoo.com> writes:

> thank you for your reply. i thought the command does something to a
> working copy.

The command *does* change your working copy. It makes your working
copy represent a different URL than the original URL you checked out.
Most of the time, the new URL represents a different branch.

> therefor the following is unclear to me:
> - is it necessary that this branch location is on the SAME webserver?

Yes.

> - why for this it is necessary the original webserver needs to be
> contacted?

Because 'svn switch' is just a fancier version of 'svn update'. Both
commands

   1. describe your working copy to the server,
   2. receive a tree-delta from the server, describing how to change
      the working copy into some other tree.

In the case of 'update', you're asking the server to morph your
working copy into the same location, but in a different revision.
With 'switch', you're asking the server to morph your working copy
into a completely different location.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 23 14:18:06 2002

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.