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

Global-Ignores Aren't Ignored

From: Allen Moore <amoore_at_amtekdesign.com>
Date: 2005-08-08 21:25:28 CEST

I'm running svn 1.2.1 for Windows. I'd like to import a large tree of files
into a repository without it scooping up files I don't want versioned, so
I'm trying to use global-ignores to filter these unwanted files out. However
although I've enabled the global-ignores line in the config file in my user
configuration area (%APPDATA%\Subversion\config), these files are not being
ignored by the import command, nor are they ignored later by the status
command.

In the [miscellany] section of the config file, I've enabled the
global-ignores line:
global-ignores = *.ba_ *.bak *.lst *.obj *.pjt *.psp tags *.tmp *.zip .*~ *~

So then as a test, I create a file (foo.obj) in a temporary directory and
run an import command, expecting the file to be ignored by import.
c:\temp> svn import . file:///c:/svn -m "Initial import"

However foo.obj is still imported into the repository. I can then also do a
checkout of foo.obj, modify it, and it will be listed by the status command.

Why are my global-ignores being imported? Any help appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 11:44:31 2005

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