2022-12-07 23:51:03 +00:00
|
|
|
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
2009-11-14 20:14:21 +00:00
|
|
|
source $stdenv/setup
|
2014-06-28 18:33:28 +00:00
|
|
|
header "getting $url${rev:+ ($rev)} into $out"
|
2009-11-14 20:14:21 +00:00
|
|
|
|
2014-05-29 07:06:13 +00:00
|
|
|
hg clone --insecure "$url" hg-clone
|
2009-11-14 20:14:21 +00:00
|
|
|
|
2015-04-01 14:02:07 +00:00
|
|
|
hg archive -q$subrepoClause -y ${rev:+-r "$rev"} --cwd hg-clone $out
|
2014-05-28 08:40:21 +00:00
|
|
|
rm -f $out/.hg_archival.txt
|
2009-11-14 20:14:21 +00:00
|
|
|
|
|
|
|
stopNest
|