3
0
Fork 0
forked from mirrors/nixpkgs

Fix regression in fetchhg.

This commit is contained in:
Rob Vermaas 2014-05-29 09:06:13 +02:00
parent 57e0371f12
commit a089dbfe8a

View file

@ -1,8 +1,7 @@
source $stdenv/setup source $stdenv/setup
header "getting $url${tag:+ ($tag)} into $out" header "getting $url${tag:+ ($tag)} into $out"
hg clone --insecure ${tag:+-r "$tag"} "$url" hg-clone hg clone --insecure "$url" hg-clone
hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out
rm -f $out/.hg_archival.txt rm -f $out/.hg_archival.txt