On Mar 4, 2009, at 07:43, Mihamina Rakotomandimby (R12y) wrote:
> $ svn status
> [...]
> ?      imagesArticle/original/49_aktif.jpg
> ?      imagesArticle/original/50_mandataire-auto-monde.jpg
> ?      imagesArticle/original/4_aktif.jpg
> ?      imagesArticle/original/6_aktif.jpg
> ?      imagesArticle/original/8_aktif.jpg
> ?      imagesArticle/original/99_fiatlogo.jpg
> [...]
> ?      imagesPortail/original/196_investissement.jpg
> ?      imagesPortail/original/248_Generaltour Ban 1.jpg
> ?      imagesPortail/original/203_ceramique.jpg
> ?      imagesPortail/original/1_3570.gif
> [...]
> M      filldata/generer_fiches_rewrite_map.pl
> M      filldata/generer_fiches.pl
> M      cgi-bin/perl.pl
> [...]
> $ svn propedit svn:ignore .
>     # in nano editor, without leading blank
>     imagesArticle
>     config/connexion_db.php
>     cgi-bin/perl.pl
>     filldata/generer_fiches_rewrite_map.pl
>     cgi-bin/departement.pl
>     imagesPortail
> $ svn status
> [...]
> ?      imagesArticle/original/49_aktif.jpg
> ?      imagesArticle/original/50_mandataire-auto-monde.jpg
> ?      imagesArticle/original/4_aktif.jpg
> ?      imagesArticle/original/6_aktif.jpg
> ?      imagesArticle/original/8_aktif.jpg
> ?      imagesArticle/original/99_fiatlogo.jpg
> [...]
> ?      imagesPortail/original/196_investissement.jpg
> ?      imagesPortail/original/248_Generaltour Ban 1.jpg
> ?      imagesPortail/original/203_ceramique.jpg
> ?      imagesPortail/original/1_3570.gif
> [...]
> M      filldata/generer_fiches_rewrite_map.pl
> M      filldata/generer_fiches.pl
> M      cgi-bin/perl.pl
> [...]
>
> Why are:
> - the content of "imagesArticle" and "imagesPortail" folders
Because those folders have already been added, and svn:ignore does  
not apply to things that have already been added. Otherwise you would  
see the folders themselves, and not their contents, listed as being  
unversioned:
?      imagesArticle
?      imagesPortail
Your options are to either set svn:ignore to "*" (or something else)  
on those two directories, or to "svn rm" those two directories and  
then set svn:ignore on "." to include "imagesArticle" and  
"imagesPortail" as you did.
> - cgi-bin/perl.pl
> - filldata/generer_fiches_rewrite_map.pl
> - cgi-bin/departement.pl
> - ...
> still listed?
Because svn:ignore only applies to the current directory, not to  
subdirectories of the current directory. If you want to ignore cgi- 
bin/perl.pl, you need to set svn:ignore to "perl.pl" on the "cgi-bin"  
directory, and so on for the other items.
> My understanding is once they are set to be ignored, they shouldn't
> appear anymore...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1266887
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 14:59:35 CET