Show More
@@ -557,8 +557,8 b' Doing the actual push: hook abort' | |||||
557 | > [failpush] |
|
557 | > [failpush] | |
558 | > reason = |
|
558 | > reason = | |
559 | > [hooks] |
|
559 | > [hooks] | |
560 |
> pretxnclose.failpush = |
|
560 | > pretxnclose.failpush = sh -c "echo 'You shall not pass!'; false" | |
561 | > txnabort.failpush = echo 'Cleaning up the mess...' |
|
561 | > txnabort.failpush = sh -c "echo 'Cleaning up the mess...'" | |
562 | > EOF |
|
562 | > EOF | |
563 |
|
563 | |||
564 | $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
|
564 | $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS | |
@@ -622,7 +622,7 b' Doing the actual push: hook abort' | |||||
622 | Check error from hook during the unbundling process itself |
|
622 | Check error from hook during the unbundling process itself | |
623 |
|
623 | |||
624 | $ cat << EOF >> $HGRCPATH |
|
624 | $ cat << EOF >> $HGRCPATH | |
625 |
> pretxnchangegroup = |
|
625 | > pretxnchangegroup = sh -c "echo 'Fail early!'; false" | |
626 | > EOF |
|
626 | > EOF | |
627 | $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS # reload http config |
|
627 | $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS # reload http config | |
628 | $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log |
|
628 | $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log |
General Comments 0
You need to be logged in to leave comments.
Login now