# HG changeset patch # User ivo # Date 1196897763 0 # Node ID cf9a7a933032775581354461822c2ea68aed98a3 # Parent 31a93c970bdd63d3a37f340fe7fc968eb7c7266f test for presence of .svn directory if we are supposed to traverse the tree according to svn info .svn might be missing (i.e. after svn export) diff -r 31a93c970bdd -r cf9a7a933032 TOOLS/checktree.sh --- a/TOOLS/checktree.sh Wed Dec 05 19:07:25 2007 +0000 +++ b/TOOLS/checktree.sh Wed Dec 05 23:36:03 2007 +0000 @@ -168,6 +168,13 @@ COLE="" fi +# Test presence of svn info + +if [ "$_svn" = "yes" -a ! -d .svn ] ; then + echo "No svn info available. Please use -nosvn." >&2 + exit 1 +fi + # Generate filelist once so -svn isn't _that_ much slower than -nosvn anymore filelist=`all_filenames`