diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-02-14 23:50:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-02-14 23:50:37 +0000 |
commit | 46c2ab9c013a9c56413d1e5775d641e6715fefb4 (patch) | |
tree | b3c6171f4eebcbf5f5a4ed5ee3fdb784d3e17022 | |
parent | 54e727a9f4ec6263b4afe53afef6af83ea1e5c54 (diff) |
update scripts to work with new pure-data SVN scripts. Gem and GemLibs are
still using CVS.
svn path=/trunk/; revision=9445
-rwxr-xr-x | scripts/checkout-developer-layout.sh | 18 | ||||
-rwxr-xr-x | scripts/update-developer-layout.sh | 6 |
2 files changed, 9 insertions, 15 deletions
diff --git a/scripts/checkout-developer-layout.sh b/scripts/checkout-developer-layout.sh index d44c8762..1591ad42 100755 --- a/scripts/checkout-developer-layout.sh +++ b/scripts/checkout-developer-layout.sh @@ -19,31 +19,23 @@ print_usage () exit } +URL="https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/" + if [ $# -eq 0 ]; then - export CVSROOT=":pserver:anonymous@pure-data.cvs.sourceforge.net:/cvsroot/pure-data" - echo "Checking out anonymously. Give your SourceForge ID as an argument otherwise." - echo "The anonymous password is: anoncvs" - cvs login + echo "Checking out anonymously. Give your SourceForge ID if you don't want that." + svn checkout $URL pure-data elif [ "$1" == "--help" ]; then print_usage elif [ "$1" == "-h" ]; then print_usage elif [ $# -eq 1 ]; then - export CVSROOT=":ext:${1}@pure-data.cvs.sourceforge.net:/cvsroot/pure-data" + svn checkout --username $1 $URL pure-data else print_usage fi -mkdir pure-data cd pure-data -for section in abstractions doc extensions externals packages scripts; do - cvs checkout $section -done - -# For Pd-extended, "pd" needs to be a specific version currently, not HEAD -cvs checkout -r stable_0_40 pd - # Gem is still separate echo -e "\n\n The password to the Gem anonymous CVS access is blank, so just press Enter\n" export CVSROOT=:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem diff --git a/scripts/update-developer-layout.sh b/scripts/update-developer-layout.sh index f58ea5e6..6364ad10 100755 --- a/scripts/update-developer-layout.sh +++ b/scripts/update-developer-layout.sh @@ -13,8 +13,10 @@ cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. cd $cvs_root_dir - -for section in abstractions doc extensions externals packages pd scripts Gem GemLibs; do +echo "Running svn update:" +svn update +echo "Running cvs update:" +for section in Gem GemLibs; do echo "$section" cd $section cvs up -Pd |