You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michaël <mi...@marinetti.fr> on 2010/07/07 13:16:41 UTC

uses of svn:ignore ?

Hi all,

I want to ignore a config file located in my working copy at 
./application/config/config.php . So, in command-line I type the following :

$ cd application/config
$ svn propset svn:ignore config.php .
property 'svn:ignore' set on '.'
### and I can check
$ svn propget svn:ignore .
config.php

But, if check status, I see I modified config.php :
$ svn st
M       config.php


How can I fix that ?

Thanks,
Michaël

RE: uses of svn:ignore ?

Posted by Giulio Troccoli <Gi...@uk.linedata.com>.
>


Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

-----Original Message-----


> From: Michaël [mailto:michael-svn@marinetti.fr]
> Sent: 07 July 2010 12:17
> To: users@subversion.apache.org
> Subject: uses of svn:ignore ?
>
> Hi all,
>
> I want to ignore a config file located in my working copy at
> ./application/config/config.php . So, in command-line I type
> the following :
>
> $ cd application/config
> $ svn propset svn:ignore config.php .
> property 'svn:ignore' set on '.'
> ### and I can check
> $ svn propget svn:ignore .
> config.php
>
> But, if check status, I see I modified config.php :
> $ svn st
> M       config.php
>
>
> How can I fix that ?

The svn:ignore property is for unversioned files only, so even if you set it to ignore config.php Subversion won't, as the file is already under its control

http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.ignore.html

Also, this entry in the FAQ may be useful

http://subversion.apache.org/faq.html#ignore-commit