[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: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 20 May 2009 21:56:35 +0400

Greetings, Eric Lilja!

> 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 '.'

cd ..
svn propedit svn:ignore yourdirectory

> 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. :)

You can use propedit for the same task as propset/propget. (not the best use
in means of propget, but still)

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 20.05.2009, <21:53>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2333371
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-20 20:01: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.