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

Re: Managing the work copy

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-13 23:53:07 CEST

On Oct 12, 2006, at 09:42, Dorian Guzmán wrote:

> Is it possible to remove a directory from the working copy, but not
> from the repository?
> For example, suppose the repository and my working copy have the A
> and B directories, but I don't want to get more updates from
> directory B in my working copy.
> I'm trying to avoid the creation a new working copy, if possible.

You can switch the B directory in your working copy to an empty
directory in the repository. This technique is described here:

...

Um... I can't find where it's described. But you just create an empty
directory in your repository (if $REPO is the URL to your repository,
then "svn mkdir $REPO/empty") and then in your working copy you can
"svn switch $REPO/empty B" to make B point to that empty directory.
Everything in the B directory of the working copy is erased and "svn
update" won't repopulate it, and B stays in the repository so you can
always "svn switch" back to it later if you want.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 13 23:54:01 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.