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

RE: Ignoring tags and branches

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Fri, 26 Sep 2008 14:31:07 -0500

> -----Original Message-----
> From: Trevor Harmon [mailto:trevor_at_vocaro.com]
> Sent: Friday, September 26, 2008 11:43 AM
> To: Subversion Users
> Subject: Ignoring tags and branches
>
> Our source code repository has an ever-growing number of tags and
> branches. This really slows things down because when I do a checkout,
> the entire history of tags and branches are checked out. Difference,
> status, and search operations are also slowed down because they
> consider the tag and branch directories, even though I'm always
> working on the trunk.
>
> Is there some way to filter checkouts, or perhaps modify the working
> copy after a checkout, so that tags and branches are ignored? For
> example, if the repository looks like this:
>
> company/project1/tags
> company/project1/branches
> company/project1/trunk
> company/project2/tags
> company/project2/branches
> company/project2/trunk
>
> I'd want the working copy to look like this:
>
> company/project1/trunk
> company/project2/trunk
>

Plan B: Use -N [--non-recursive] : operate on single directory
only

svn co -N company
cd company
svn update -N project1
svn update -N project1/trunk
svn update -N project2/trunk
svn update -N project3/trunk

Obviously you would want to script it. And you'll have to be careful
about running 'svn update' at the company or project level or you'll
wind up downloading everything (but that's normally a self-correcting
training issue.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-26 21:31:57 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.