Added exit code if fast-export failed.

This commit is contained in:
lroche
2018-03-16 18:43:30 +01:00
parent 4e3d479a9a
commit 2a1dbbdb89
+6 -3
View File
@@ -15,6 +15,9 @@ git config core.ignoreCase false
/usr/local/src/fast-export/hg-fast-export.sh -r /work/$PROJECT_NAME /usr/local/src/fast-export/hg-fast-export.sh -r /work/$PROJECT_NAME
git checkout HEAD if [ "$?" -ne "0" ]; then
exit 1
bash else
git checkout HEAD
bash
fi