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

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

From: 张宇 <zhangyu_at_vancl.cn>
Date: Wed, 2 Sep 2009 20:38:32 +0800

Thank you Johan, your advice solved the problem perfectly.

-----邮件原件-----
发件人: Johan Corveleyn [mailto:johan.corveleyn_at_uz.kuleuven.ac.be]
发送时间: 2009年9月2日 20:12
收件人: 'Ryan Schmidt'; 张宇
抄送: users_at_subversion.tigris.org
主题: RE: how to remove unwanted working copy folders withou being "missing"?

> 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

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390152

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390169

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-02 14:39:36 CEST

This is an archived mail posted to the Subversion Users mailing list.