[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: Marcello <m.romani_at_spinsoft.it>
Date: 2005-07-22 14:47:58 CEST

bruno modulix ha scritto:
> Hi
> I can't get svn to ignore a directory.
> My project (a website based on spip cms) has a "CACHE" directory (under
> the project root). As its name implies, there's no point versionning it,
> so I did not imported it in the repository !-)
> Now since this dir can be quite large, I'd like not to heard of it
> anymore. So what I did:
> -> svn propedit svn:ignore .
> -> typed CACHE in the editor
> -> saved and quit
> -> commited (ok)
> But still the whole dir and it's content appears (as unversionned of
> course) when I svn status :(
> I've read the doc, I've searched thru this ml's archives, I've tried
> many variants (/CACHE, CACHE/, CACHE*, etc), I've tried with another
> editor, I've tried adding whitespace, new lines, whatever...
> I just don't understand what I'm doing wrong - but I guess it must be
> obvious (as usual...).
> Any hint anyone ?
> NB : gentoo linux, svn version 1.2.1 (r15230)
> NB 2 : globals ignore on emacs backups (*.*~) works fine

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

To better explain the situation, below is the cut-n-paste of a sample

------ begin cut-n-paste ----------
-> cd MyApp
-> svn propget svn:ignore .

[# in another terminal, 'cd MyApp' then 'vim lib/MyApp/C/Menu.pm' ]

-> svn status .
? lib/MyApp/C/.Menu.pm.swp

[# in another terminal, 'cd MyApp' then 'vim MyApp/Makefile.PL' ]

-> svn status .
? lib/MyApp/C/.Menu.pm.swp

------ end cut-n-paste ----------

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.


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:04:03 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.