Check for incoming changes
1 files changed, 4 insertions(+), 0 deletions(-) M deploy.sh
M deploy.sh +4 -0
@@ 13,6 13,10 @@ if hg --pager '' outgoing; then echo "Error: outgoing changes" >&2 exit 1 fi +if hg --pager '' incoming; then + echo "Error: outgoing changes" >&2 + exit 1 +fi ssh -T root@qwertywar.com << PRE set -eo pipefail