Mercurial > hg
changeset 40219:7ba6b880b09a
py3: glob some difference between py2 and py3 output
On py2, the directory names are under quotes and on py3 they are not and I don't
know why.
Differential Revision: https://phab.mercurial-scm.org/D5030
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 13 Oct 2018 04:21:02 +0300 |
parents | b27bcf81071b |
children | c7ffc53fbd19 |
files | contrib/python3-whitelist tests/test-clone.t tests/test-convert.t |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Sat Oct 13 04:09:34 2018 +0300 +++ b/contrib/python3-whitelist Sat Oct 13 04:21:02 2018 +0300 @@ -69,6 +69,7 @@ test-clone-r.t test-clone-uncompressed.t test-clone-update-order.t +test-clone.t test-clonebundles.t test-commit-amend.t test-commit-interactive.t
--- a/tests/test-clone.t Sat Oct 13 04:09:34 2018 +0300 +++ b/tests/test-clone.t Sat Oct 13 04:21:02 2018 +0300 @@ -642,7 +642,7 @@ $ mkdir a $ chmod 000 a $ hg clone a b - abort: Permission denied: '$TESTTMP/fail/a/.hg' + abort: Permission denied: *$TESTTMP/fail/a/.hg* (glob) [255] Inaccessible destination @@ -650,7 +650,7 @@ $ hg init b $ cd b $ hg clone . ../a - abort: Permission denied: '../a' + abort: Permission denied: *../a* (glob) [255] $ cd .. $ chmod 700 a @@ -665,7 +665,7 @@ $ mkfifo a $ hg clone a b - abort: $ENOTDIR$: '$TESTTMP/fail/a/.hg' + abort: $ENOTDIR$: *$TESTTMP/fail/a/.hg* (glob) [255] $ rm a
--- a/tests/test-convert.t Sat Oct 13 04:09:34 2018 +0300 +++ b/tests/test-convert.t Sat Oct 13 04:21:02 2018 +0300 @@ -446,7 +446,7 @@ $ chmod 000 bogusdir $ hg convert a bogusdir - abort: Permission denied: 'bogusdir' + abort: Permission denied: *bogusdir* (glob) [255] user permissions should succeed