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

Re: config file with cygwin

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2006-03-31 10:28:49 CEST

Steve Kunkee wrote:

> Thanks.
> You mention that global-ignores is only for svn-status. That does appear to be the case, so it appears that the document is incorrect. I'll file a bug report.
> The document (http://svnbook.red-bean.com/nightly/en/svn-book.html), chapter 7, Configuration Options, Config, global-ignores, says that svn add and svn import also look at global-ignores. The book is for 1.2, and I have 1.2.3, so they should match.

Steve, you don't have to file a bug report. Subversion works as

Look at this:

$ mkdir new

$ touch new/a.c

$ touch new/a.o

$ svn st
? new

$ svn add new
A new
A new/a.c

Subversion ignores the file a.o as all .o files should be ignored by
the global-ignores property.

And now look at this:

$ touch a.c

$ touch a.o

$ svn st
? a.c

$ svn add *
A a.c
A a.o

Now the .o file is also added. But that's not a bug in Subversion but
has to do with shell expansion. The '*' is expanded by the shell so
Subversion actually gets 'svn add a.c a.o' and so you have what I
already described: You can explicitly add files which are to be ignored.

Hope that makes it clearer.
And please forgive me for writing it a bit unclear last time.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 31 10:29:53 2006

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