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

Re: Ignore patterns should not be case sensitive (usability)

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Sat, 22 Mar 2008 15:01:29 -0400

Karl Heinz Marbaise <khmarbaise_at_gmx.de> writes:
> If you mean the svn:ignore property you can use the same thing there...

Time for a test :-).

As the script below shows, globbing each letter works fine, so people
can just tweak today's ignore patterns to DTRT w.r.t. case.

---------------------------------------------------------------------------
#!/bin/sh

SVNDIR=/home/kfogel/src/subversion

SVN=${SVNDIR}/subversion/svn/svn
SVNADMIN=${SVNDIR}/subversion/svnadmin/svnadmin
URL=file:///`pwd`/repos

rm -rf repos wc import-me

${SVNADMIN} create repos

${SVN} co -q ${URL} wc

cd wc
${SVN} propset -q svn:ignore '*.[Tt][Xx][Tt]' .
touch foo.txt
touch FOO.TXT
touch foo.Txt
touch foo.tXt
touch This_should_be_the_only_file_shown---There_should_also_be_a_prop_mod
${SVN} st
cd ..

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-22 20:01:48 CET

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