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

Ignoring all files in a directory

From: Eric Lilja <mindcooler_at_gmail.com>
Date: Wed, 20 May 2009 16:04:04 +0200

Hello, I'm using (just started) subversion 1.6.2 under Windows. I have a
directory "somedir" that is under version control but I want to ignore
all files in it (and there's no telling beforehand the names of the
files that may appear in that directory).
I tried this: In my working copy I put two files in somedir: foo.txt and
blah.java (and I want these ignored).
$ svn status reveals:
? somedir\foo.txt
? somedir\blah.java

Ok, that's expected. Now let's try and ignore everything in somedir, I
tried this:
$ cd somedir/
$ svn propset svn:ignore * .
svn: warning: 'foo.txt' is not under version control
property 'svn:ignore' set on '.'

Hmm, did it ignore somedir/blah.java but not somedir/foo.txt? Let's check:
$ svn propget svn:ignore somedir
blah.java

Hmm, somedir/blah.java seems to be ignored but not somedir/foo.txt?

What did I do wrong? How should I write the propset command? Also, I
would like to know how I can do this without using propedit. :)

- EL

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-20 16:10:27 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.