Merge lp:~spiv/bzr/ssh-connect-socket-error into lp:bzr
| Status: | Merged |
|---|---|
| Approved by: | Vincent Ladeuil on 2010-09-17 |
| Approved revision: | 5431 |
| Merged at revision: | 5438 |
| Proposed branch: | lp:~spiv/bzr/ssh-connect-socket-error |
| Merge into: | lp:bzr |
| Diff against target: |
67 lines (+7/-19) 2 files modified
NEWS (+3/-0) bzrlib/transport/ssh.py (+4/-19) |
| To merge this branch: | bzr merge lp:~spiv/bzr/ssh-connect-socket-error |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Vincent Ladeuil | 2010-09-17 | Approve on 2010-09-17 | |
|
Review via email:
|
|||
Commit Message
Simplify connect_ssh/sftp error handling
Description of the Change
test_bad_
Looking at the code, I don't know what the separate handling of EPIPE is trying to achieve, so here's a patch to just keep the error handling during connect_ssh/sftp simple and consistent.
| Andrew Bennetts (spiv) wrote : | # |
Vincent Ladeuil wrote:
> Review: Approve
> Let's try that and monitor the failures on hardy.
>
> AIUI this shouldn't occur outside of tests so is pretty safe to try.
I'm not as confident about that, but I think I've forgotten too much of
the original context to be confident of anything here :/
| Vincent Ladeuil (vila) wrote : | # |
At least this didn't fail any tests on: http://
| Andrew Bennetts (spiv) wrote : | # |
sent to pqm by email

Let's try that and monitor the failures on hardy.
AIUI this shouldn't occur outside of tests so is pretty safe to try.