| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | if [scip-shell system . . `[`. -n "$PUSH_REMOTE" ]; then |
| 3 | if [scip-shell system . . `[`. "$VCS" = git ] && [scip-shell system . . `[`. -d .git ]; then |
| 4 | for REMOTE in $PUSH_REMOTE; do |
| 5 | gitscip-shell system . . git. push "$REMOTE" || truescip-shell system . . true. |
| 6 | done |
| 7 | elif [scip-shell system . . `[`. "$VCS" = hg ] && [scip-shell system . . `[`. -d .hg ]; then |
| 8 | for REMOTE in $PUSH_REMOTE; do |
| 9 | hg push "$REMOTE" || truescip-shell system . . true. |
| 10 | done |
| 11 | else |
| 12 | echoscip-shell system . . echo. "PUSH_REMOTE not yet supported for $VCS" >&2 |
| 13 | fi |
| 14 | fi |