bcadafc1f0b4961c1cec7ee92e81a9f533026435
[feisty_meow.git] / scripts / rev_control / puffer.sh
1 #!/bin/bash
2
3 # puffer: "puffs out" all of the folders present in the REPOSITORY_LIST
4 # variable, which causes the repo to be merged with its remote versions.
5 # this enables a clean check-in; after puffer runs, there will be no secret
6 # upstream changes that could mess up the git push (svn and cvs are not
7 # supported in this script, since they branch differently than git).
8
9 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
10 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
11
12 ##############
13
14 echo "puffing out repositories at: $(date)"
15
16 FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME "
17 if [ "$OS" == "Windows_NT" ]; then
18   FULL_LIST+=" c:/ d:/ e:/ "
19 fi
20
21 puff_out_list $FULL_LIST
22 exit_on_error "puffing out list: $FULL_LIST"
23
24 ##############
25
26 # regenerate the scripts after puffing out, since this could mean a modified version
27 # of feisty meow is present.
28 regenerate
29
30 ##############
31