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

Re: pruned directory checkouts

From: Chris Church <flyingfred0_at_gmail.com>
Date: 2006-01-06 22:35:07 CET

I find myself using svn co -N and svn up -N (non-recursive) to set up my
working copy. It just takes a little discipline when I check something out,
but I don't have to deal with directories I don't need. I can easily run
svn up, svn status or svn commit in the root folder of my working copy and
it affects all directories that I've explicitly checked out, but nothing
more. The only thing that has been tedious for me is removing directories
from my working copy I no longer need -- the only way I've found is to
manually edit the "entries" file in the .svn directory.

For example, my repository has different projects as the top-level
directories, and then trunk/branches/tags beneath those. If I want to work
on the trunk of project 'foo' and the 1.0 branch of project bar, I'd do the

svn co -N http://server/repos work

svn up -N work/foo
svn up work/foo/trunk

svn up -N work/bar
svn up -N work/bar/branches
svn up work/bar/branches/1.0-devel

On 1/6/06, Lukas Ruf <ruf@rawip.org> wrote:
> > Ravi Giri <ravi.giri@gmail.com> [2006-01-06 09:49]:
> >
> > On 1/6/06, Lukas Ruf <ruf@rawip.org> wrote:
> >
> > > For particular machines, I do not need to have a complete project
> > > checked out. To save space and to accelerate updates and commits,
> > > I was wondering if there exists a mechanism (property?) to make
> > > svn client stop considering subdirectories of given projects.
> >
> > What we do is create 'placeholder' directories at the top level
> > (below trunk or branches) that have externals property containing
> > the paths that we do want checked out.
> interesting approach -- but externals, are they WC-local? I always
> believed not.
> wbr,
> Lukas
> --
> Lukas Ruf <http://www.lpr.ch> | Ad Personam
> rbacs <http://wiki.lpr.ch> | Restaurants, Bars and Clubs
> Raw IP <http://www.rawip.org> | Low Level Network Programming
> Style <http://email.rawip.org> | How to write emails
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 22:37:40 2006

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.