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

Re: Excluding directories from checkout

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-02-08 00:28:54 CET

On 2/7/07, Ramanathan Muthaiah <rus.cahimb@gmail.com> wrote:
> > I have a problem / feature-request which other users may like to comment
> > about.
> >
> >
> >
> > I am working using a very large SVN repository, which needs to be accessed
> > remotely on a regular basis. Most users are only interested in part of the
> > code base, although all code in the repository is active.
> >
> >
> >
> > Currently, it is possible to selectively check out individual directories,
> > but keeping these all in sync manually is tedious and error prone. It
> > would be very useful if a file 'EXCLUDE' could be placed in the .svn
> > directory, of selective folders, so that in future those folders would be
> > treated as if it had not been checked out.
> >
> >
> >
> > Are there any other ways of excluding directories?
> Did you try setting svn:ignore proprety ?
>
> This is covered in the SVN book:
> http://svnbook.red-bean.com/nightly/en/svn-book.html

svn:ignore doesn't stop anything from being checked out or updated.
svn:ignore is used to prevent files from appearing with a ? in the svn
status output, and being added via svn add <directory> (with the usual
caveat of using * and shell expansion) or svn import.

If something is already versioned , svn:ignore is ignored for it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 8 00:29:19 2007

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