2009-06-24 13:48:01 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
header "exporting $url (rev $rev) into $out"
|
|
|
|
|
2009-11-08 01:51:20 +00:00
|
|
|
git clone "$url" $out
|
2009-06-24 13:48:01 +01:00
|
|
|
if test -n "$rev"; then
|
|
|
|
cd $out
|
|
|
|
git checkout $rev
|
|
|
|
fi
|
|
|
|
find $out -name .git\* | xargs rm -rf
|
|
|
|
|
|
|
|
stopNest
|
|
|
|
|