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

Re: svn:ignore not working on directories - what am I doing wrong ?

From: bruno modulix <bruno_at_modulix.org>
Date: 2005-07-22 15:43:23 CEST

Marcello wrote:
> bruno modulix ha scritto:
>
>> Hi
>>
>> I can't get svn to ignore a directory.
>>
(snip)
>
> I have similar problem:
> I want to ignore all the .swp files that vim creates while I'm editing a
> source file.
> I set svn:ignore to '*.swp' (in directory MyApp) but swp files in
> subdirs still get displayed (swp files in MyApp/ dir, instead, are
> correctly ignored).

This is the expected behaviour.

(snip)
>
> It seems to me that svn:ignore has effect only in the directory on which
> the property is set, i.e. it does not act recusively.

Right. It's even written in full words in the doc (which I must have
read it a few thousand times yesterday, so I can tell you !-)

For you want to do, you must either set the svn:ignore prop in all and
every directory (yuck) or set it as a global ignore in your conf

http://svnbook.red-bean.com/nightly/en/svn.advanced.html#svn.advanced.confarea.opts.config

In your case, the second option is obviously the most appropriate.

HTH

-- 
Bruno Desthuilliers
Développeur
bruno@modulix.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 15:58:35 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.