[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: Eli Barzilay <eli_at_barzilay.org>
Date: 2005-05-31 16:41:54 CEST

On May 31, Marc Sherman wrote:
> Eli Barzilay wrote:
> >
> > 1. Ignoring `global-ignores', I don't see how svn:ignore can affect
> > `add' and `import' -- first, `svn add foo.bar' will always work
> > even if there is a "*.bar" pattern in `svn:ignore', so for adding
> > files it makes no difference.
>
> "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.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 31 16:46:32 2005

This is an archived mail posted to the Subversion Users mailing list.