comparison tests/test-mq-qimport @ 7421:4c4324476be6

Catch both IOError and OSError, fix regression introduced by 8046f0a070a6
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 26 Nov 2008 18:23:35 +0100
parents 84f807918864
children bbc74c05b8a4
comparison
equal deleted inserted replaced
7420:b4ac1e2cd38c 7421:4c4324476be6
23 23
24 hg init repo 24 hg init repo
25 cd repo 25 cd repo
26 26
27 echo % qimport non-existing-file 27 echo % qimport non-existing-file
28 hg qimport non-existing-file 2>&1 | sed -e 's/\(No such file or directory:\) .*/\1/' 28 hg qimport non-existing-file
29 29
30 echo % import URL 30 echo % import URL
31 echo foo >> foo 31 echo foo >> foo
32 hg add foo 32 hg add foo
33 hg diff > $HGTMP/url.diff 33 hg diff > $HGTMP/url.diff