better naming for revision control action method.
[feisty_meow.git] / scripts / rev_control / rev_update.sh
index a6c658b3c6746f300c7da2d9a57add2017628f95..d4fa6e48b20842d0afac45f81d4f395814be332f 100644 (file)
@@ -12,24 +12,8 @@ fi
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
 pushd "$dir" &>/dev/null
-
-for i in * ; do
-  if [ -d "$i" ]; then
-    echo "[$i]"
-    do_update "$i"
-#    pushd $i &>/dev/null
-#    # only update if we see a repository living there.
-#    if [ -d ".svn" ]; then
-#      svn update .
-#    elif [ -d ".git" ]; then
-#      git pull 
-#    elif [ -d "CVS" ]; then
-#      cvs update .
-#    fi
-#    popd &>/dev/null
-    echo "======="
-  fi
-done
-
+tempfile=$(generate_rev_ctrl_filelist)
 popd &>/dev/null
 
+perform_revctrl_action_on_file "$tempfile" do_update
+