You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
380 B
20 lines
380 B
19 years ago
|
source $stdenv/setup
|
||
|
|
||
|
tagtext=""
|
||
|
tagflags=""
|
||
10 years ago
|
if test -n "$rev"; then
|
||
|
tagtext="(tag $rev) "
|
||
|
tagflags="--tag=$rev"
|
||
15 years ago
|
elif test -n "$context"; then
|
||
|
tagtext="(context) "
|
||
|
tagflags="--context=$context"
|
||
19 years ago
|
fi
|
||
|
|
||
16 years ago
|
header "getting $url $partial ${tagtext} into $out"
|
||
19 years ago
|
|
||
12 years ago
|
darcs get --lazy $tagflags "$url" "$out"
|
||
19 years ago
|
# remove metadata, because it can change
|
||
|
rm -rf "$out/_darcs"
|
||
|
|
||
|
stopNest
|