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

Re: How to trim working copy tree?

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2006-03-25 05:26:29 CET

On Fri, 2006-03-24 at 16:38 -0800, Garrett Rooney wrote:
> On 3/24/06, Tim Hill <tim@realmsys.com> wrote:
>
> > In other words, I want to get back to the state after the first command
> > above, with just the foo folder and no bar. But I don't see any way of
> > erasing foo's memory of bar from the WC, aside from dumping the whole WC
> > and starting from scratch.
>
> There is no such command at the moment. Subversion's handling of
> nonrecursive checkouts is currently rather poor. When it's fixed such
> a command could be added, but I don't know if anyone's planning on
> doing that any time soon.
>

Actually, there is a trick various gcc developers use.

Place an empty directory in the repository, and svn switch bar to it.
If you ever want the bar dir back, just svn switch it back to the real
bar.

(This of course, will be unswitched if you svn switch the parent
directory to some other branch, etc)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 25 05:27:20 2006

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