comparison tests/test-ssh.out @ 3380: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
comparison
equal deleted inserted replaced
3378:1106e00e6847 3380:8770b4870e22
1 # creating 'remote' 1 # creating 'remote'
2 # repo not found error 2 # repo not found error
3 remote: abort: repository nonexistent not found!
3 abort: no suitable response from remote hg! 4 abort: no suitable response from remote hg!
4 remote: abort: repository nonexistent not found!
5 # clone remote via stream 5 # clone remote via stream
6 streaming all changes 6 streaming all changes
7 XXX files to transfer, XXX bytes of data 7 XXX files to transfer, XXX bytes of data
8 transferred XXX bytes in XXX seconds (XXX XB/sec) 8 transferred XXX bytes in XXX seconds (XXX XB/sec)
9 XXX files updated, XXX files merged, XXX files removed, XXX files unresolved 9 XXX files updated, XXX files merged, XXX files removed, XXX files unresolved