[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: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 29 Jan 2008 13:53:20 +0100

On Tue, Jan 29, 2008 at 10:11:15AM -0200, Marcelo de Moraes Serpa wrote:
> Hello,
> 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.

Stefan Sperling <stsp_at_elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on 2008-01-29 13:53:48 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.