second test and nicer formatting
[feisty_meow.git] / scripts / rev_control / checkin.sh
1 #!/bin/bash
2
3 # checkin: checks in all the folders present in the REPOSITORY_LIST variable.
4
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
6 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
7
8 save_terminal_title
9
10 ##############
11
12 echo "committing repositories at: $(date)"
13
14 FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME "
15 if [ "$OS" == "Windows_NT" ]; then
16   FULL_LIST+=" c:/ d:/ e:/ "
17 fi
18
19 checkin_list $FULL_LIST
20 exit_on_error "revision control check-in of list: $FULL_LIST"
21
22 echo
23
24 ##############
25
26 # regenerate the scripts after the check-in, since an update during check-in
27 # could mean we have a modified version of feisty meow is present.
28 regenerate
29
30 ##############
31
32 restore_terminal_title
33