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

Re: Ignoring all files in a directory

From: Eric Lilja <mindcooler_at_gmail.com>
Date: Wed, 20 May 2009 17:51:06 +0200

Hi Konstantin,

Konstantin Kolinko wrote:
>
> Shell expands * to be the list of file names. E.g., try
> $ echo *
>
> You should place single quotes around it:
> $ svn propset svn:ignore '*' .

and thank you for your reply! I tried this enclosing the * in both ''
and "", neither seems to work? Here's the output from my test:

[C:\atest\dicegame\somedir]svn status
? foo.txt
? blah.java

[C:\atest\dicegame\somedir]svn propset svn:ignore "*" .
svn: warning: 'blah.java' is not under version control
svn: warning: 'foo.txt' is not under version control
property 'svn:ignore' set on '.'

[C:\atest\dicegame\somedir]svn status
  M .
? foo.txt
? blah.java

[C:\atest\dicegame\somedir]svn propget svn:ignore ../somedir
.svn

[C:\atest\dicegame\somedir]svn revert ../somedir
Reverted '..\somedir'

[C:\atest\dicegame\somedir]svn status
? foo.txt
? blah.java

[C:\atest\dicegame\somedir]svn propset svn:ignore '*' .
property 'svn:ignore' set on '.'

[C:\atest\dicegame\somedir]svn propget svn:ignore ../somedir
'*'

[C:\atest\dicegame\somedir]svn status
  M .
? foo.txt
? blah.java

Any ideas?

- EL

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2331847

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-20 17:52:35 CEST

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.