[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 17:07:46 CEST

Marcello ha scritto:
> 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
>>
>>
>> TIA
>
>
> 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
> session:
>
> ------ begin cut-n-paste ----------
> -> cd MyApp
> -> svn propget svn:ignore .
> *.swp
>
> [# 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.
>
> Marcello
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Thanks Ben, thanks bruno
    you are right, it's in the docs... I _did_ read the svn book but I
must have missed that point.

Marcello

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 17:26:24 2005

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