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

RE: how to remove unwanted working copy folders withou being "missing"?

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Wed, 2 Sep 2009 14:11:39 +0200

> Van: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
> On Sep 1, 2009, at 22:29, 张宇 wrote:
> > I happened to update a folder I do not need, for example, the
> > “tags”, and I canceled the operation, doing a cleanup, and delete
> > the folder using normal delete command(not svn delete), and I got
> > annoying “missing” status.
> >
> > And the question: How do I remove the folder I did not need? Just
> > like I never check(update) it out?
> I assume you have used the "--depth" argument to initially check
> out a
> sparse working copy, and then pulled in more items using svn
> update,
> and now want to remove those items again. Unfortunately, my
> understanding is that you cannot currently make a sparse checkout
> less
> sparse than it already is. So the only option I'm aware of would be
> to
> do a new sparse checkout.

As of 1.6, it's possible to make your sparse checkout less sparse, by using the new "exclude" argument to --set-depth. See http://subversion.tigris.org/svn_1.6_releasenotes.html#sparse-directory-exclusion.

So I guess you could do the following in your working copy, in the parent directory of "tags" (or whatever directory you wish to exclude from your working copy):
svn update --set-depth exclude tags



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-02 14:12:43 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.