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

Re: How to invert the svn:ignore meaning?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-09-07 23:00:21 CEST

On Sep 7, 2007, at 05:51, ANGonline wrote:

> I have to version certain file inside a lot of directories
> containing a lot-lot of other files
> that have many different and often umpredictable pattern
> (even files without extension or whaterever format like
> "checklistfile").
> So I'd like to avoid versioning of those uninteresting (to me) file.
> I found that svn:ignore can help me to avoid the versioning of
> known *unwanted* file pattern
> while I olny now the pattern of *wanted* file: *.h *.c *.m.
> There's something I can do with this?

There is no way to invert the meaning of svn:ignore, as you say. You
can either just commit your *.h, *.c, *.m files and deal with the
fact that "svn status" will show lots of other files that you don't
care about, or you can list various patterns in your svn:ignore (or
global ignores) that exclude all those files. If the names of the
files you'd like to exclude have extensions, or other recognizable
patterns, you can list those (*.o, foo*). If they do not, you'll have
to list each filename (checklistfile, etc.).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 7 22:58:48 2007

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.