dir=.
fi
-pushd "$dir" &>/dev/null
-
-for i in * ; do
- if [ -d "$i" ]; then
- echo "[$i]"
- pushd $i &>/dev/null
- # only update if we see a repository living there.
- if [ -d ".svn" ]; then
- svn diff .
- elif [ -d ".git" ]; then
- git diff
- elif [ -d "CVS" ]; then
- cvs diff .
- fi
- popd &>/dev/null
- echo "======="
- fi
-done
+source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
+pushd "$dir" &>/dev/null
+tempfile=$(generate_rev_ctrl_filelist)
popd &>/dev/null
+perform_revctrl_action_on_file "$tempfile" do_diff