comparison tests/test-template-map.t @ 41420:b6673e9bdcf6

dispatch: quote filename in IOError as well It's explicitly added for OSError at 720308f741cb "dispatch: show empty filename in OSError aborts". Let's do the same for IOError.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 26 Jan 2019 17:51:55 +0900
parents 34ecc0a09c76
children 77ef3498ceb3
comparison
equal deleted inserted replaced
41419:b5169e79c31c 41420:b6673e9bdcf6
1037 1037
1038 #if unix-permissions no-root 1038 #if unix-permissions no-root
1039 $ touch q 1039 $ touch q
1040 $ chmod 0 q 1040 $ chmod 0 q
1041 $ hg log --style ./q 1041 $ hg log --style ./q
1042 abort: Permission denied: ./q 1042 abort: Permission denied: './q'
1043 [255] 1043 [255]
1044 #endif 1044 #endif
1045 1045
1046 Error if no style: 1046 Error if no style:
1047 1047