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

Re: Including instead of ignoring files

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-10-10 08:00:24 CEST

On Saturday 08 October 2005 15:24, Ryan Schmidt wrote:
> I think trying to set svn:ignore may have been the wrong advice,
> since auto-props only work for files, but you would need to set the
> svn:ignore property of directories. You could set svn:ignore = * on
> each directory in your project manually and commit that, but that
> would probably be a pain, as you'd have to remember to do it for each
> new directory you create. Making auto-props work for directories is
> an open feature request:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=1989
Ouch, yes. I forgot that my dir-auto-props-patch is not in subversion yet, and
that the currently working option is global-ignores, as Ryan wrote below.
Sorry.

> How about instead setting global-ignores? With this in my config file:
>
> [miscellany]
> global-ignores = *
>
> I get the result that I think you want:
>
> $ svnadmin create /tmp/repo
> $ mkdir /tmp/import
> $ cd /tmp/import
> $ touch foo bar baz
> $ svn import . file:///tmp/repo -m ""
> $ svn ls file:///tmp/repo
> $
>
> Nothing gets imported. Everything gets ignored. The same would apply
> to svn add and svn status.
That's was I meant.

Thank you for explaining :-)

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 10 08:02:22 2005

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.