[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: Sander Striker <striker_at_apache.org>
Date: 2002-09-16 16:39:17 CEST

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: 16 September 2002 15:56

> 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?

I thought we had an issue on this one already.
Yep: http://subversion.tigris.org/issues/show_bug.cgi?id=885

Sander

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

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