aboutsummaryrefslogblamecommitdiff
path: root/sh/propset.sh
blob: ef34d03b386272e39657e97a9ab21a64f2c6e44e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                              

               




                                          




                             


                             
                                      
      

                              
#!/bin/sh

# All parameters will be then ignore by svn st

export LC_ALL=C

if [ $# -lt 1 ]; then
	echo "Give me some file to ignore"
	exit -1
fi

while [ ! -z "$1" ]
do
	echo $1 >> .svnignore
	shift
done

svn commit -m "ignore update"

svn propset svn:ignore -F .svnignore .
svn up

svn commit -m "propset update"