> -----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