Thursday, August 31, 2006
#!/bin/sh rev="`svn info -r HEAD https://source.sakaiproject.org/svn | grep Revision: | sed -e 's/Revision: /r/g'`" echo exporting Sakai at $rev svn export -q -$rev https://source.sakaiproject.org/svn/sakai/branches/sakai_2-2-x $rev echo getting rid of those darn Url and Id comments for file in `grep -lr '\$URL' ./$rev/*` do perl -pi -e 's/\$URL.*\$//i' $file perl -pi -e 's/\$Id.*\$//i' $file done echo synching repository with Sakai $rev svn_load_dirs.pl -no_user_input -t $rev svn://projects.its.txstate.edu/tracs/vendor/sakai current ./$rev
A couple of questions -
Do you cron this, or run it by hand as needed?
Did you drop the mass perl-mongling in favor of tuning the svn properties on your local copy?
And I keep meaning to figure out how to do it the "right" way, but I'm still perl-mongling!