Source

mutated_ocaml / 0scripts / 0CHECKOUT-SVN

#!/bin/sh

set -e

REV=12779
VERSION=4.00.0

# Move to the ocaml-svn-copy head
hg update -C ocaml-svn-copy
/bin/rm -rf [A-z]* \#*

svn co http://caml.inria.fr/svn/ocaml/release/$VERSION/
# tar zxvf ../ocaml-$VERSION.tgz
(cd $VERSION; tar cf - .) | tar xf -
/bin/rm -rf $VERSION

hg rm `hg status | grep '^!' | awk '{ print $2 }'`
hg add [A-z]*
echo OCaml $VERSION svn source is copied. Now ready to commit.

echo hg commit -m ocaml-$(VERSION)-$(REV)
echo hg tag ocaml-$(VERSION)-$(REV)