fetchsvn: Add ignoreExternals attribute.
There are some SVN repositories out there which don't have revision information tied to externals. By using ignoreExternals, fetchsvn won't fetch these externals anymore, so the fetch won't fail with a checksum mismatch, should there be some changes in some of those external repositories. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@@ -22,6 +22,7 @@ fi;
|
||||
# server's certificate. This is perfectly safe: we don't care
|
||||
# whether the server is being spoofed --- only the cryptographic
|
||||
# hash of the output matters.
|
||||
echo 'p' | svn export -r "$rev" "$url" $out
|
||||
echo 'p' | svn export ${ignoreExternals:+--ignore-externals} \
|
||||
-r "$rev" "$url" "$out"
|
||||
|
||||
stopNest
|
||||
|
||||
Reference in New Issue
Block a user