3 # checks in all the folders present in the REPOSITORY_LIST variable.
5 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
6 source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh"
8 # selects the method for check-in based on where we are.
11 local directory="$1"; shift
12 if [ -d "CVS" ]; then cvs ci . ;
13 elif [ -d ".svn" ]; then svn ci . ;
14 elif [ -d ".git" ]; then
15 # snag all new files. not to everyone's liking.
17 # tell git about all the files and get a check-in comment.
19 # upload the files to the server so others can see them.
20 git push 2>&1 | grep -v "X11 forwarding request failed"
22 echo unknown repository for $directory...
26 # checks in all the folders in a specified list.
27 function checkin_list {
30 # turn repo list back into an array.
31 eval "repository_list=( ${REPOSITORY_LIST[*]} )"
32 for j in "${repository_list[@]}"; do
33 # add in the directory component.
35 if [ ! -d "$j" ]; then continue; fi
38 echo "checking in '$j'..."
45 echo "Committing repositories at: $(date)"
47 if [ "$OS" != "Windows_NT" ]; then
48 # first get individual folders.
51 checkin_list $HOME c:/ d:/ e:/