aboutsummaryrefslogtreecommitdiffstats
path: root/svnignore.sh
blob: 81163145c1394dc63b0ded0cffff28253c91ba65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[ -z "$1" ] && exit


p=`pwd`

while [ -n "$1" ]
do
   for i in `find . -name $1`
   do
      d=`dirname $i`
      cd $p
      cd $d
      svn propget svn:ignore . > /tmp/$$
      echo $1 >> /tmp/$$
      svn propset svn:ignore -F /tmp/$$ .
   done
   shift
done