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

Re: Excluding a directory

From: David Ripton <dripton_at_ripton.net>
Date: 2005-01-28 15:05:10 CET

On 2005.01.28 10:27:28 +0000, S.Ramaswamy wrote:
> On Fri, 2005-01-28 at 10:00, Tom Trebisky wrote:
> > Anyway, I have a website that I would like to put under
> > subversion control. But I would like to exclude
> > one or two directories; namely ./images and
> > maybe one or two others. If I just import the
> > whole website, how do I exclude these selected
> > directories?
>
> Check out the global-ignores option in your subversion
> config file. If you are on *nix, it's in ~/.subversion
> and in windows in the ApplicationData\Subversion directory.
>
> Chapter 7 of the SVN book ( svnbook.org ) has the details,
> as well as a section on 'Ignore Patterns for CVS users'

That works, if the names you want to ignore are sufficiently unique, and
you remember to undo the change afterward if you don't want to
permanently ignore those patterns.

But I would usually just make a copy of the tree, remove files or
directories that you don't want checked in from the copy, then svn
import the copy.

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 28 15:07:25 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.