On Fri, 13 Jun 2008, Talden wrote:
> > $ svn co -N http://svn.collab.net/repos/svn/tags
> > $ cd tags
> > $ svn up 1.5.0-rc7
>
> Why checkout the tags rather than just the current tag you're wanting?
>
> $ mkdir ~/wc/tags
> $ cd ~/wc/tags
> $ svn co http://svn.collab.net/repos/svn/tags/1.5.0-rc7 1.5.0-rc_current
>
> Note the working-copy name "1.5.0-rc_current"... Use "svn info" to check
> which RC it refers to.
>
> > ... time passes and rc11 comes out... I want to avoid pulling down all of
> > 1.5.0-rc11 with "svn up 1.5.0-rc11 " from the network so I do the
> > following...
> >
> > $ svn switch http://svn.collab.net/repos/svn/tags/1.5.0-rc11 1.5.0-rc7
> > $ svn up -N 1.5.0-rc11
> > $ rm -rf 1.5.0-rc11
> > $ cp -a 1.5.0-rc7 1.5.0-rc11
> > $ svn switch http://svn.collab.net/repos/svn/tags/1.5.0-rc7 1.5.0-rc7
>
> $ cd ~/wc/tags
> $ svn switch http://svn.collab.net/repos/svn/tags/1.5.0-rc7 1.5.0-rc_current
>
>
> Or something to that effect.
>
> Having the tags folder checked out doesn't seem to buy you anything but
> you now have an extra .svn folder that holds the wrong state (from your
> perspective, svn is just doing as it's told after all) for the RC you've
> switched to.
It's useful to me because it's from the tags directory that I watch for
any changes in that part of the tree. My usual m.o. is to checkout -N
from the top of a svn repo and build out from there. A checkout from the
top is useful to me for the same reason; In that case, I get a global view
of what's happening in the repository.
---------------------------------------------------------------------
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-13 15:57:50 CEST