added careful error checking to rev control
[feisty_meow.git] / scripts / rev_control / push_repo_downstream.sh
index 0d0dcaa7567218ca6bdbf994cc1b968b7e592aa9..2f4e3db1d2647e616632eb3d88d2053811e18e8b 100644 (file)
@@ -41,15 +41,14 @@ pushd "$dir"
 
 # get everything from the origin.
 git fetch origin
-
-# get everything from the origin.
-#needed? git pull
+test_or_die "running git fetch origin"
 
 # turn off occasionally troublesome setting before checkin.
 unset GIT_SSH
 
 # send the little boat down the stream to the dependent repository.
 git push downstream master
+test_or_die "running the git push downstream"
 
 popd