Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-ssh.out @ 3379:8770b4870e22
portability fix for test-ssh
The __del__ method of sshrepo reads the stderr of the remote process
until EOF and prints it.
If an exception is raised, this method ends up being called:
- on Linux: after the "abort: ..." message is printed
- on OS X: before the "abort: ..." message is printed
This patch explicitly flushes the stderr of the remote process before
raising a RepoError.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 12 Oct 2006 20:45:25 -0300 |
parents | 7ae37d99d47e |
children | 975c2469c316 |
line wrap: on
line diff
--- a/tests/test-ssh.out +++ b/tests/test-ssh.out @@ -1,7 +1,7 @@ # creating 'remote' # repo not found error +remote: abort: repository nonexistent not found! abort: no suitable response from remote hg! -remote: abort: repository nonexistent not found! # clone remote via stream streaming all changes XXX files to transfer, XXX bytes of data