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

Re: ignoring directories in WC

From: Greg Lutz <greg_at_nearspace.com>
Date: Thu, 14 Aug 2008 21:59:25 -0700

What we use is:

cd to the target directory's parent, then

svn update -r 0 <target_directory>
svn update -N

I'm not entirely sure of the of the need for the second line.

If there are files in the target directory that are not under version
control, you may also need an "rm -rf".

This sequence generally makes the target directory not come back when a
vanilla svn update is subsequently done from one of its ancestors.

--Greg Lutz

DW Dennis Wheeler wrote:
> how can I remove and ignore directories within my working copy?
> I can't 'svn delete' them, because other people use them
> I can't 'rm -rf' them, because they come back with an 'svn update'
> I can 'svn co -N ...dir[1-n]' skipping the ones I don't want (pardon my
> shorthand notation for email purposes)
> and that seems to work until I do an 'svn status -u' which generates an
> error about missing dirs, then the next 'svn update' sync's them up
> again.
> thank for you help,
> -- Dennis

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-15 07:00:06 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.