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

Re: Ignore file/directory with name begin with '!'

From: Steven Woody <narkewoody_at_gmail.com>
Date: Wed, 25 Nov 2009 20:43:43 +0800

On Wed, Nov 25, 2009 at 5:41 PM, Ryan Schmidt
<subversion-2009d_at_ryandesign.com> wrote:
> On Nov 25, 2009, at 00:24, Steven Woody wrote:
>
>> We have a directory !Build\ in the project tree.  How can I set
>> svn:ignore property to ignore the whole directory?  It seem there is
>> no way to specify the name in the file pattern list.
>
> What have you tried? It seems to work fine for me with Subversion 1.6.5:
>
>
> $ mkdir '!Build'
> $ svn st
> ?       !Build
> $ svn propset svn:ignore '!Build' .
> property 'svn:ignore' set on '.'
> $ svn st
>  M      .
> $

I tried, now i understand the problem. Actually, there are
files/directories existing in '!Build', so the 'svn st' still lists
them although the property has been already set successfully.

So, What should I do if my directory is some like:

!Build\Debug
!Build\Debug\foobar

Thanks.

>
>
> Or was the backslash also part of the directory name? I didn't test that.
>
>
>

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2424229
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-25 13:45:05 CET

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.