Mercurial > public > mercurial-scm > hg
diff tests/test-ssh.t @ 23416:53a65929ef1f stable
pushkey: gracefully handle prepushkey hook failure (issue4455)
This allow to gracefully report the failure of the bookmark push and carry on.
Before this change set. Local push would plain quit and wireprotocol would
failed in various ungraceful way.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 29 Nov 2014 19:17:47 -0800 |
parents | 8b4a8a9176e2 |
children | eabe44ec5af5 |
line wrap: on
line diff
--- a/tests/test-ssh.t Sat Nov 29 19:13:35 2014 -0800 +++ b/tests/test-ssh.t Sat Nov 29 19:17:47 2014 -0800 @@ -392,9 +392,9 @@ remote: Permission denied remote: abort: prechangegroup.hg-ssh hook failed remote: Permission denied - remote: abort: prepushkey.hg-ssh hook failed - abort: unexpected response: empty string - [255] + remote: pushkey-abort: prepushkey.hg-ssh hook failed + updating 6c0482d977a3 to public failed! + [1] $ cd ..