Mercurial > hg-stable
diff tests/test-permissions.t @ 41442: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 | f1186c292d03 |
children | 93eb6c8035a9 |
line wrap: on
line diff
--- a/tests/test-permissions.t Sat Jan 26 17:44:07 2019 +0900 +++ b/tests/test-permissions.t Sat Jan 26 17:51:55 2019 +0900 @@ -22,7 +22,7 @@ checking manifests crosschecking files in changesets and manifests checking files - abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i + abort: Permission denied: '$TESTTMP/t/.hg/store/data/a.i' [255] $ chmod +r .hg/store/data/a.i @@ -39,7 +39,7 @@ $ echo barber > a $ hg commit -m "2" trouble committing a! - abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i + abort: Permission denied: '$TESTTMP/t/.hg/store/data/a.i' [255] $ chmod -w .