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

Re: exclude certain files and directories when importing for the first time

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Tue, 29 Jan 2008 08:10:25 -0600

On Jan 29, 2008, at 06:53, Stefan Sperling wrote:

> On Tue, Jan 29, 2008 at 10:11:15AM -0200, Marcelo de Moraes Serpa
> wrote:
>
>> I'm just adding a project for the first time to a repository
>> (importing) and I don't want certain files and subdirs to be
>> included. I thought on using the svn:exclude property but it can
>> only be set on working copies and I don't have a working copy yet
>> in this stage. What should I do ?
>
> You could temporarily move the certain files somewhere else,
> do the import, and then move the files back.
>
> Another option would be to create a .svnignore file.
> I cannot find where this is documented in the book,
> but it should behave the same as .cvsignore.

I'm not aware of a .svnignore file. The Subversion equivalent of
the .cvsignore file is either the svn:ignore property, or the global-
ignores section of the client-side config file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-29 15:10:58 CET

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.