2006-01-30 12:18:38 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
tagtext=""
|
|
|
|
tagflags=""
|
|
|
|
if test -n "$tag"; then
|
|
|
|
tagtext="(tag $tag) "
|
|
|
|
tagflags="--tag=$tag"
|
|
|
|
fi
|
|
|
|
|
|
|
|
header "getting $url ${tagtext}into $out"
|
|
|
|
|
2007-09-07 20:59:30 +02:00
|
|
|
darcs get --no-pristine-tree --partial $tagflags "$url" "$out"
|
2006-01-30 12:18:38 +01:00
|
|
|
# remove metadata, because it can change
|
|
|
|
rm -rf "$out/_darcs"
|
|
|
|
|
|
|
|
stopNest
|