f1ee14bfaf
I think it takes the recent N commits into the repository, which says very little, even for wanting master/HEAD. svn path=/nixpkgs/trunk/; revision=18277
13 lines
196 B
Bash
13 lines
196 B
Bash
source $stdenv/setup
|
|
|
|
header "exporting $url (rev $rev) into $out"
|
|
|
|
git clone "$url" $out
|
|
if test -n "$rev"; then
|
|
cd $out
|
|
git checkout $rev
|
|
fi
|
|
find $out -name .git\* | xargs rm -rf
|
|
|
|
stopNest
|
|
|