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

Re: my understanding on svn switch

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 30 Jul 2008 09:17:05 -0700

N D wrote:
> when i switch to some location of my subversion reposory using svn
> switch, the following things hold:
>
> any new files/dir from the repo location will be added to my working
> copy, if they are not present in my WC

Yes.

> any existing files/dir (that exist both in the repo and WC) will be
> overwritten in my WC, therby overwriting any changes

No. It does a merge into those files, not a copy, preserving any local changes.

> any files/dir present in my WC, but not in the repo location, will be
> deleted from my WC

Unversioned files will not be touched. Versioned files will be deleted if they
have no local modifications. Versioned files with local modifications will be kept.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-30 18:17:40 CEST

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.