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

Re: How to exclude a directory from SVN crontrol

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-08 15:35:40 CEST

On Sep 8, 2005, at 12:03, thomas Armstrong wrote:

> I've got a project on my PC with some directories:
> /home/myproject/trunk/foo1
> /home/myproject/trunk/foo2
> /home/myproject/trunk/foo3
> And they are under SVN control.
> I would like to exclude 'foo3' from SVN crontrol, and want SVN not to
> update it.

If foo3 is already under version control, and now you want it not to
be, but you still want to keep the directory in your working copy,
you can do it like this:

$ cp -rp foo3 foo3.bak
$ svn rm foo3
$ svn propset svn:ignore foo3 .
$ svn ci -m "Removing foo3 from version control."
$ mv foo3.bak foo3
$ svn st

foo3 is now still in the working copy, but is no longer under version
control. The svn:ignore property will prevent the directory from
annoying you in the status list.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 8 15:37:42 2005

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.