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

Re: how are local changes processed by a "svn switch"?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-08-09 02:31:03 CEST

Robert P. J. Day wrote:

> while i've read the book on this, i'm still not clear on how it
>works.
>
> as i read it, if i "svn switch" to a new URL, my working copy will
>be modified so that it's just as if i had checked out that URL in the
>first place. normally, this should be fairly quick since branches
>would typically differ only by a little.
>
> but what happens if i first make some local changes, *then* decide i
>want to switch? according to the book, "When you svn switch your
>working copy to the branch, the local changes will remain."
>
> but what is actually happening underneath in terms of what data is
>being sent back and forth? how are these local changes "preserved" as
>your working copy is being modified to reflect the new URL?
>
>
"svn switch" works just like "svn update", except that updates from a
different URL (and modifies the working copy metadata accordingly). So,
any differences between the original branch and the new branch will be
merged into your local changes.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 02:33:00 2005

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.