3 # checks in all the folders present in the REPOSITORY_LIST variable.
5 source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh"
7 # selects the method for check-in based on where we are.
10 local directory="$1"; shift
12 # this appears to be cvs.
13 # pushd "$directory/.." &>/dev/null
17 elif [ -d ".svn" ]; then
19 elif [ -d ".git" ]; then
23 echo unknown repository for $directory...
27 # checks in all the folders in a specified list.
28 function checkin_list {
31 # turn repo list back into an array.
32 eval "repository_list=( ${REPOSITORY_LIST[*]} )"
33 for j in "${repository_list[@]}"; do
34 # add in the directory component.
36 if [ ! -d "$j" ]; then continue; fi
39 echo "checking in '$j'..."
46 if [ "$OS" != "Windows_NT" ]; then
47 # first get individual folders.
50 checkin_list $HOME c:/ d:/ e:/