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