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

Re: Ignore files during import & commit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-16 15:55:41 CEST

Michael Casaday <mcasaday@efn.org> writes:

> 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 crucial.

Yes, this is the only way right now. And I thought that's exactly how
CVS does it as well... you have to carefully arrange and prepare your
import tree.

AFAIK, the .cvsignore file doesn't filter imports in CVS, does it?
I've never heard of that. I thought it behaved exactly like the
svn:ignore property.

If you can think of a good UI design, maybe we can file a feature
request?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 16 15:58:00 2002

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