about summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg/builder.sh
blob: 0b51ef79b235f8d5ef1aa7eb88926d2cac6193e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
source $stdenv/setup
header "getting $url${rev:+ ($rev)} into $out"

hg clone --insecure "$url" hg-clone

hg archive -q -y ${rev:+-r "$rev"} --cwd hg-clone $out
rm -f $out/.hg_archival.txt

stopNest