better naming for revision control action method.
[feisty_meow.git] / scripts / rev_control / rev_checkin.sh
index 587824343dec248a281d16b42f0d7b225109f030..808f21a7dcca2153d85d1a9496387fb34fa293ce 100644 (file)
@@ -12,26 +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_checkin $i
-#    pushd $i &>/dev/null
-#    # only update if we see a repository living there.
-#    if [ -d ".svn" ]; then
-#      svn ci .
-#    elif [ -d ".git" ]; then
-#      git commit .
-#      git push
-#    elif [ -d "CVS" ]; then
-#      cvs diff .
-#    fi
-#    popd &>/dev/null
-    echo "======="
-  fi
-done
-
+tempfile=$(generate_rev_ctrl_filelist)
 popd &>/dev/null
 
+perform_revctrl_action_on_file "$tempfile" do_checkin