[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 20:43:00 CEST

On May 31, S.Ramaswamy wrote:
> On Tue, 2005-05-31 at 09:25 -0400, 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.
>
> Check out issue #2243 -
> http://subversion.tigris.org/issues/show_bug.cgi?id=2243 .

Aha, the missing piece is that "svn add --force" will add files
recursively. (I suppose that import can do something similar.)

Back to the book -- this seems like such a corner case that
mentioning it in the svn:ignore section is mostly misleading (like I
tought that "svn add foo" might not work if "foo" is ignored). It
would probably be better to mention the effect of svn:ignore on `add'
in its own reference page, right after the "--force" flag is
described.

-- 
          ((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 20:45:15 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.