Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
496 B · 19 lines
Shell
1234567891011121314151617181920tagtext=""tagflags=""# Darcs hashes are sha1 (120 bits, 40-character hex)if [[ "$rev" =~ [a-fA-F0-9]{40} ]]; then tagtext="(hash $rev)" tagflags="--to-hash=$rev"elif test -n "$rev"; then tagtext="(tag $rev)" tagflags="--tag=$rev"elif test -n "$context"; then tagtext="(context)" tagflags="--context=$context"fi
echo "getting $url $partial ${tagtext} into $out"
darcs get --lazy $tagflags "$url" "$out"# remove metadata, because it can changerm -rf "$out/_darcs"