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

Re: Ignoring exisiting directories with svn client(not svn:ignore)

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-12 18:02:57 CET

On Jan 12, 2006, at 09:46, Pavel Shevaev wrote:

> Hi folks, is it possible to configure svn client so that it would
> ignore some directories in repository? I'd like to run svn co/up/ci
> which will simply skip these directories while they *are* actually in
> the repository.
> I'm asking about this because i'm working on a large project which has
> many sub-projects each with its own trunk/tags/branches directories
> and i would like to checkout only "trunks" skipping "tags" and
> "branches" stuff.
> Yes, i know, it's possible to check out every sub-project trunk to its
> own working copy but this is what i would like to avoid. The reason
> for this is simple: sometimes similar mass changes are made over many
> sub-projects(e.g. replace in files) and it's desirable to have all of
> these changes in one revision.

No, I don't think there's a good way to do what you want. You can
investigate "svn co -N" but it's broken [1] and its use may lead to
unhappiness. I would recommend doing what you are trying to avoid:
make a separate working copy of each project's trunk. If there are
changes that apply to many projects, surely those changes need to be
tested separately in each project. Conceivably a patch could work
well on one project and badly on another. You'd want the freedom to
be able to undo the change in one project while retaining it in
others, hence you'd want to commit in separate revisions. You might
also want to merge the change from one project's trunk into its most
current release branch, and that certainly would have to be its own
revision anyway.

[1] http://subversion.tigris.org/issues/show_bug.cgi?id=695

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 12 20:44:32 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.