update_from_upstream (327B)
1 #!/bin/sh 2 3 set -x 4 5 if test -d richtext; then 6 rm -drf richtext; 7 fi 8 9 svn checkout http://browserscope.googlecode.com/svn/trunk/categories/richtext/static richtext | tail -1 | sed 's/[^0-9]//g' > current_revision 10 11 find richtext -type d -name .svn -exec rm -drf \{\} \; 2> /dev/null 12 13 hg add current_revision richtext 14 15 hg stat . 16