2022-12-07 23:51:03 +00:00
|
|
|
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2003-11-25 17:38:48 +00:00
|
|
|
|
2004-04-14 10:55:33 +00:00
|
|
|
header "exporting $url (r$rev) into $out"
|
2003-11-25 17:38:48 +00:00
|
|
|
|
2009-05-19 17:07:20 +00:00
|
|
|
if test -n "$http_proxy"; then
|
|
|
|
# Configure proxy
|
|
|
|
mkdir .subversion
|
|
|
|
proxy="${http_proxy#*://}"
|
|
|
|
|
|
|
|
echo '[global]' > .subversion/servers
|
|
|
|
echo "http-proxy-host = ${proxy%:*}" >> .subversion/servers
|
|
|
|
echo "http-proxy-port = ${proxy##*:}" >> .subversion/servers
|
|
|
|
|
|
|
|
export HOME="$PWD"
|
|
|
|
fi;
|
|
|
|
|
2017-06-04 12:41:28 +00:00
|
|
|
if test -z "$LC_ALL"; then
|
|
|
|
export LC_ALL="en_US.UTF-8"
|
|
|
|
fi;
|
|
|
|
|
2017-12-18 15:48:25 +00:00
|
|
|
svn export --trust-server-cert --non-interactive \
|
2017-03-13 03:02:33 +00:00
|
|
|
${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
|
2013-03-26 18:48:52 +00:00
|
|
|
-r "$rev" "$url" "$out"
|
2003-11-25 17:38:48 +00:00
|
|
|
|
2004-04-14 10:55:33 +00:00
|
|
|
stopNest
|