1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then .
"$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh
]; then . .attrs.sh
; fi
4 echo "exporting $url (r$rev) into $out"
6 if test -n "$http_proxy"; then
9 proxy
="${http_proxy#*://}"
11 echo '[global]' > .subversion
/servers
12 echo "http-proxy-host = ${proxy%:*}" >> .subversion
/servers
13 echo "http-proxy-port = ${proxy##*:}" >> .subversion
/servers
18 if test -z "$LC_ALL"; then
19 export LC_ALL
="en_US.UTF-8"
22 svn
export --trust-server-cert --non-interactive \
23 ${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
24 -r "$rev" "$url" "$out"