X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fpuffer.sh;fp=scripts%2Frev_control%2Fpuffer.sh;h=c02ef3bce96edcfbaf1676ad125d9251108f268d;hb=845e27f6901e8c440797a9c52c1517a2ad81e153;hp=0000000000000000000000000000000000000000;hpb=3f2094ce3b1ad41fb7f3cb14922a31fd557b6c2f;p=feisty_meow.git diff --git a/scripts/rev_control/puffer.sh b/scripts/rev_control/puffer.sh new file mode 100644 index 00000000..c02ef3bc --- /dev/null +++ b/scripts/rev_control/puffer.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# puffer: "puffs out" all of the folders present in the REPOSITORY_LIST +# variable, which causes the repo to be merged with its remote versions. +# this enables a clean check-in; after puffer runs, there will be no secret +# upstream changes that could mess up the git push (svn and cvs are not +# supported in this script, since they branch differently than git). + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" +source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" + +############## + +echo "puffing out repositories at: $(date)" +echo + +FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME " +if [ "$OS" == "Windows_NT" ]; then + FULL_LIST+=" c:/ d:/ e:/ " +fi + +puff_out_list $FULL_LIST +test_or_die "puffing out list: $FULL_LIST" + +############## + +# regenerate the scripts after puffing out, since this could mean a modified version +# of feisty meow is present. +regenerate + +############## +