Skip to content

Commit e46c50e

Browse files
author
Jared Murrell
authored
added error output for REV retries
1 parent 8b9960f commit e46c50e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

_functions.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,12 @@ function _git_svn_clone()
374374
RESULT=$?
375375
while [[ ${RESULT} -ne 0 ]]
376376
do
377-
echo "" && echo "" && echo "" && echo "" && echo ""
377+
echo "" && echo "" && echo ""
378378
echo "Revision ${REV} failed to clone, possibly due to corruption."
379+
echo ""
380+
ERROR_MSG=$(grep [a-zA-Z0-9] ${LOG_FILE}|tail -n1)
381+
echo "Error: ${ERROR_MSG}"
382+
echo ""
379383
read -p "Would you like to attempt revision ${REV} again? (yes/no) " RETRY
380384
while [[ "${RETRY,,}" != "yes" ]] && [[ "${RETRY,,}" != "no" ]]
381385
do

0 commit comments

Comments
 (0)