[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: David Weintraub <qazwart_at_gmail.com>
Date: Sat, 27 Sep 2008 22:51:29 -0400

Are you using Subversion 1.5 or greater?

You can use the --depth=immediates switch to just checkout the
directories for trunk, branches, and tags:

    $ svn co --depth=immediates svn://localhost/company

This will checkout all fifty projects, but just the project directory
and nothing else.

Then you can do something like this:

    $ cd company
    $ svn update */trunk

That should checkout all the trunks without the branches and tags.

--
David Weintraub
qazwart_at_gmail.com
On Fri, Sep 26, 2008 at 11:43 AM, Trevor Harmon <trevor_at_vocaro.com> wrote:
> 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
>
> I'm aware of the svn:ignore property, but I don't think it applies here. For
> one thing, it would affect everyone. The filtering here should apply only to
> my working copy.
>
> Trevor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
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-28 04:51: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.