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