forked from mirrors/nixpkgs
Fix regression in fetchhg.
This commit is contained in:
parent
57e0371f12
commit
a089dbfe8a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue