move promote_pipe_return to core functions
authorChris Koeritz <fred@gruntose.com>
Tue, 22 May 2018 15:33:52 +0000 (15:33 +0000)
committerChris Koeritz <fred@gruntose.com>
Tue, 22 May 2018 15:33:52 +0000 (15:33 +0000)
commitc7024b410857b8f1cc727b5eae30fb79a11c5aff
tree6a6b171c930a2d680e71836af7e6ea6c95d9903d
parent4e0d105164d48387cb49d71a695bfed9a94b8221
move promote_pipe_return to core functions

this is too useful to leave down in the version control library; it
turns the Nth pipe status into the current return value, allowing
simpler and more readable checking of status.
abstracted from version control library into core functions file.
also dropping the two test files for checkin.
scripts/core/functions.sh
scripts/rev_control/bogus_file_tests_new_checkin-second_one.txt [deleted file]
scripts/rev_control/bogus_file_tests_new_checkin.txt [deleted file]
scripts/rev_control/version_control.sh