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

Ignore files during import & commit

From: Michael Casaday <mcasaday_at_efn.org>
Date: 2002-09-16 06:42:50 CEST

I apologize if this should be obvious. I took a good hard look at the
FAQ, Handbook, Issuezilla, and mailing list archives. I also
experimented quite a bit with subversion itself.

What I want is a way to declare certain files and directories off-limits
to the repository. Say I have a project with this structure:


How do I tell Subversion that I DON'T want *.class files, app.workspace,
or the data/ directory or to be in the repository?

The svn:ignore property only filters files from the output of the "svn
status" command. I want to filter files from being put in the
repository in the first place. In other words, I want "svn import",
"svn commit", and "svn add" to ignore certain file patterns. I think
what I'm looking for is the equivalent to the .cvsignore file in CVS.

So far it looks like the only solution is to simply avoid putting files
in the imported source tree that you don't want in the repository. Is
this the way svn is intended to work? I feel that I'm missing something


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 16 06:43:26 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.