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

Pattern for excluding a directory in global-ignores

From: Michael J. Rivard <rivard_at_sbcglobal.net>
Date: 2007-08-15 21:34:47 CEST

If I want to avoid importing all directories named, for example, temp, then adding */temp/* to my list of global ignores does *not* work. This is counter-intuitive because *nix shell commands usually accept */temp/* as a valid filename pattern. However, I discovered that simply adding temp to the list of global ignores does do the trick. What are all of the valid pathname patterns that can be used in svn:global-ignores and svn:ignore? This should be included in the Subversion book. For example, can I exclude logs only if it's in temp, i.e. temp/logs? Best regards, Mike
Received on Wed Aug 15 23:20:41 2007

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