Merge pull request #1159 from bjornfor/fetchsvn
fetchsvn: handle redirect(s)
This commit is contained in:
commit
b541b702ae
@ -21,8 +21,8 @@ fi;
|
|||||||
# Pipe the "p" character into Subversion to force it to accept the
|
# Pipe the "p" character into Subversion to force it to accept the
|
||||||
# server's certificate. This is perfectly safe: we don't care
|
# server's certificate. This is perfectly safe: we don't care
|
||||||
# whether the server is being spoofed --- only the cryptographic
|
# whether the server is being spoofed --- only the cryptographic
|
||||||
# hash of the output matters.
|
# hash of the output matters. Pass in extra p's to handle redirects.
|
||||||
echo 'p' | svn export ${ignoreExternals:+--ignore-externals} \
|
printf 'p\np\np\n' | svn export ${ignoreExternals:+--ignore-externals} \
|
||||||
-r "$rev" "$url" "$out"
|
-r "$rev" "$url" "$out"
|
||||||
|
|
||||||
stopNest
|
stopNest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user