exemplar_dir="$1"; shift
whack_dir="$1"; shift
+#hmmm: much code here is shared with whack_dupes. get into a library.
+
# make sure they gave us a good directory to start with.
if [ -z "$exemplar_dir" ]; then
echo "whack_dupes"
pushd "$whack_dir" &>/dev/null
fi
+# now that we're in the directory to clean, make sure we're good there.
+if [ ! -d ".svn" ]; then
+# echo "Could not find a subversion directory; operation would be pointless."
+ exit 0
+fi
+
current_dir="$(pwd)"
#echo "currdir=$current_dir gooddir=$the_good_place"