about summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg/builder.sh
blob: 48ef269c505bfc6305d2e5e202d1f78c47daf4a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
source $stdenv/setup

header "getting $url${tag:+ ($tag)} into $out"

hg clone ${tag:+-r "$tag"} "$url" "$out"

rm -rf "$out/.hg"
rm -f "$out/.hg_archival.txt"

stopNest