update_from_upstream (493B)
1 #!/bin/sh 2 3 set -x 4 5 if test -d richtext2; then 6 rm -drf richtext2; 7 fi 8 9 svn checkout http://browserscope.googlecode.com/svn/trunk/categories/richtext2 richtext2 | tail -1 | sed 's/[^0-9]//g' > current_revision 10 11 find richtext2 -type d -name .svn -exec rm -drf \{\} \; 2> /dev/null 12 13 # Remove test_set.py and other similarly named files because they confuse our mochitest runner 14 find richtext2 =type f -name test_\* -exec rm -rf \{\} \; 2> /dev/null 15 16 hg add current_revision richtext2 17 18 hg stat . 19