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

Re: [svn] Re: svn:ignore

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-05-31 17:38:30 CEST

On May 31, 2005, at 10:41 AM, Eli Barzilay wrote:

> On May 31, Marc Sherman wrote:
>> "svn add dir" will ignore any files in dir matching svn:ignore.
>> Same for import. Files you explicitly list will not be ignored.
> I don't see it happening, and I can't think of a situation it will.
> Say that you want to add "foo" and ignore txt files, this:
>> svn propedit svn:ignore foo
> svn: 'foo' is not under version control
> is obvious -- it's not added yet. And this:
>> svn propget svn:ignore .
> *.txt
>> ls foo
> checklist.txt
>> svn add foo
> A foo
> A foo/checklist.txt
> is because the property applies only to a directory.

You appear to be correct. I tried something similar adding 'foo' non-
recursively first, then setting the ignore property.. but there seems
to be no way to add the files within foo after that in a way that the
ignore property is used.

Some clarification is needed. I do think that tools like TortoiseSVN
will filter the list of 'unversioned resources' when you select the
'Add' action in a folder. But the command line tools don't seem to
have a way to use svn:ignore for the 'add' command.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 31 17:41:09 2005

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.