tasty change to add a new category. this is definitely still a fred-realm script...
[feisty_meow.git] / scripts / rev_control / rev_diff.sh
index 8682714a4dbdb4b2e16d1b0b5616904ac9d57b8f..f09d72b1246bb468f6c8dfb2ee53dcc2027c78d4 100644 (file)
@@ -11,29 +11,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
+pushd "$dir" &>/dev/null
 tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
 
 perform_action_on_file "$tempfile" do_diff
 
-
-#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
-#
-#popd &>/dev/null
-