3 # checks in all our commonly used folders.
6 source "$SHELLDIR/rev_control/rev_control.sh"
10 # selects the method for check-in based on where we are.
15 pushd "$directory/.." &>/dev/null
17 # get the right modifier for the directory name.
18 compute_modifier "$directory" "in"
21 checkin_cmd="echo unknown repository for $directory..."
23 if [ "$home_system" == "true" ]; then
24 checkin_cmd="svn ci ."
28 # then we pretty much ignore what we guessed, and just use the
29 # appropriate command for what we see inside the directory.
30 if [ -d "$directory/CVS" ]; then
33 modifier= # reset the modifier, since we know we have cvs.
35 elif [ -d "$directory/.svn" ]; then
36 checkin_cmd="svn ci ."
40 # if [ "$use_bare_name" == "1" ]; then
41 # directory=$(basename "$directory")
44 if [ $is_svn -eq 1 ]; then
45 pushd "$directory" &>/dev/null
49 $checkin_cmd "$modifier$directory"
54 function checkin_list {
57 for j in $i/feisty_meow $i/hoople $i/hoople2 $i/quartz $i/web $i/yeti $i/xsede/xsede_tests $i/xsede/code/cak0l/trunk ; do
58 if [ ! -d "$j" ]; then
59 #echo no directory called $j exists
65 echo "checking in '$folder'..."
72 if [ "$OS" != "Windows_NT" ]; then
73 # first get individual folders.
75 ## # now check in the user's directory, if that is an asset in revision control.
76 ## pushd $HOME &>/dev/null
78 ## echo "checking in '"$(pwd)"/$USER'..."
82 checkin_list c: c:/home d: d:/home e: e:/home f: f:/home g: g:/home h: h:/home i: i:/home