comparison 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
comparison
equal deleted inserted replaced
23415:cdbb85489c41 23416:53a65929ef1f
390 pushing to ssh://user@dummy/*/remote (glob) 390 pushing to ssh://user@dummy/*/remote (glob)
391 searching for changes 391 searching for changes
392 remote: Permission denied 392 remote: Permission denied
393 remote: abort: prechangegroup.hg-ssh hook failed 393 remote: abort: prechangegroup.hg-ssh hook failed
394 remote: Permission denied 394 remote: Permission denied
395 remote: abort: prepushkey.hg-ssh hook failed 395 remote: pushkey-abort: prepushkey.hg-ssh hook failed
396 abort: unexpected response: empty string 396 updating 6c0482d977a3 to public failed!
397 [255] 397 [1]
398 398
399 $ cd .. 399 $ cd ..
400 400
401 stderr from remote commands should be printed before stdout from local code (issue4336) 401 stderr from remote commands should be printed before stdout from local code (issue4336)
402 402