Ticket #364: trunkify
File trunkify, 409 bytes (added by , 14 years ago) |
---|
Line | |
---|---|
1 | SVN=/opt/local/bin/svn |
2 | REPO=~/scheme/chicken-eggs4 |
3 | URL=http://code.call-cc.org/svn/chicken-eggs/release/4 |
4 | |
5 | for egg in $*; do |
6 | |
7 | echo ---------- $egg ----------- |
8 | cd $REPO && |
9 | cd $egg && |
10 | $SVN copy -m "$egg: copy to trunk" $URL/$egg $URL/$egg/trunk && |
11 | $SVN up && |
12 | $SVN ls | egrep -v '^trunk/$' | tr '\012' '\000' | xargs -0 $SVN rm && |
13 | $SVN mkdir tags && |
14 | $SVN commit -m "$egg: remove non-trunk copy, add tags/" |
15 | |
16 | done |