2023-11-16 04:20:00 +00:00
|
|
|
if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
|
2020-04-24 23:36:52 +00:00
|
|
|
source $stdenv/setup
|
2023-02-02 18:25:31 +00:00
|
|
|
echo "getting $url${rev:+ ($rev)} into $out"
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
hg clone --insecure "$url" hg-clone
|
|
|
|
|
|
|
|
hg archive -q$subrepoClause -y ${rev:+-r "$rev"} --cwd hg-clone $out
|
|
|
|
rm -f $out/.hg_archival.txt
|