2023-01-20 10:41:00 +00:00
|
|
|
if [ -e .attrs.sh ]; then source .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
|