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

Re: how to svn switch "permanently"

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 11 Jun 2008 18:10:45 -0700

Zing wrote:
> Is there a way to make a "switched" part of your working copy be that
> actual "switched" part?
>
> For example, I have a checkout of 1.5.0-rc7 from the svn tags directory
> and then switched that to 1.5.0-rc11:
>
> $ svn st
> S 1.5.0-rc7
>
> How can I make that actually be 1.5.0-rc11? Is that even possible?
>
> Ultimately, I guess I'm trying to avoid the unneeded network traffic of
> "svn up 1.5.0-rc11".

Update is a simplified switch where you can't change the URL, so you're spending
the same amount of network traffic to switch or update.

It's odd that you see this:

$ svn st
     S 1.5.0-rc7

which suggests you checked out the tags directory??? Which isn't a good idea.
You should directly check out the tag.

In any case, inside the 1.5.0-rc7 directory it doesn't think it's a switched wc.
    So if you move the 1.5.0-rc7 somewhere out of the parent directory it is in,
rename it to 1.5.0-rc11, you'll be fine.

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 03:11:19 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.