2009-11-14 21:14:21 +01:00
|
|
|
source $stdenv/setup
|
2014-06-28 20:33:28 +02:00
|
|
|
header "getting $url${rev:+ ($rev)} into $out"
|
2009-11-14 21:14:21 +01:00
|
|
|
|
2014-05-29 09:06:13 +02:00
|
|
|
hg clone --insecure "$url" hg-clone
|
2009-11-14 21:14:21 +01:00
|
|
|
|
2015-04-01 16:02:07 +02:00
|
|
|
hg archive -q$subrepoClause -y ${rev:+-r "$rev"} --cwd hg-clone $out
|
2014-05-28 10:40:21 +02:00
|
|
|
rm -f $out/.hg_archival.txt
|
2009-11-14 21:14:21 +01:00
|
|
|
|
|
|
|
stopNest
|