<commit_before>svn propset svn:ignore --recursive -F .svnignore .
echo "current properties:"
svn propget svn:ignore .
<commit_msg>svnignore script nows accepts arguments to add recursively folders/files, and preserves the old svnignore table<commit_after>[ -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



{'fraction_non_alphanumeric': 0.13076923076923078, 'fraction_numerical': 0.007692307692307693, 'mean_word_length': 2.52027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5470493', 'n_tokens_mistral': 197, 'n_tokens_neox': 187, 'n_words': 63}