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
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
rm -f $out/.hg_archival.txt