2009-11-14 12:14:21 -08:00
|
|
|
source $stdenv/setup
|
|
|
|
header "getting $url${tag:+ ($tag)} into $out"
|
|
|
|
|
2014-05-29 00:06:13 -07:00
|
|
|
hg clone --insecure "$url" hg-clone
|
2009-11-14 12:14:21 -08:00
|
|
|
|
2014-05-28 01:40:21 -07:00
|
|
|
hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out
|
|
|
|
rm -f $out/.hg_archival.txt
|
2009-11-14 12:14:21 -08:00
|
|
|
|
|
|
|
stopNest
|