Mercurial > hg
comparison tests/test-convert-svn-encoding.t @ 47063:1d075b857c90 stable
tests: ensure `$PYTHON` is quoted for Windows
Global installs of python3 go into "Program Files", and tons of tests fail with
mysterious errors if this isn't quoted. Most of this is a followup to
0826d684a1b5, but a some of these were existing issues. Shebang lines are
ignored because quoting breaks direct execution- these will need to be launched
indirectly with the quoted `$PYTHON` command.
Differential Revision: https://phab.mercurial-scm.org/D10633
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 01 May 2021 00:41:43 -0400 |
parents | 0ea9c86fac89 |
children |
comparison
equal
deleted
inserted
replaced
47062:f38bf44e077f | 47063:1d075b857c90 |
---|---|
153 | 153 |
154 $ cd .. | 154 $ cd .. |
155 | 155 |
156 Subversion sources don't support non-ASCII characters in HTTP(S) URLs. | 156 Subversion sources don't support non-ASCII characters in HTTP(S) URLs. |
157 | 157 |
158 $ XFF=$($PYTHON -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\xff")') | 158 $ XFF=$("$PYTHON" -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\xff")') |
159 $ hg convert --source-type=svn http://localhost:$HGPORT/$XFF test | 159 $ hg convert --source-type=svn http://localhost:$HGPORT/$XFF test |
160 initializing destination test repository | 160 initializing destination test repository |
161 Subversion sources don't support non-ASCII characters in HTTP(S) URLs. Please percent-encode them. | 161 Subversion sources don't support non-ASCII characters in HTTP(S) URLs. Please percent-encode them. |
162 http://localhost:$HGPORT/\xff does not look like a Subversion repository (esc) | 162 http://localhost:$HGPORT/\xff does not look like a Subversion repository (esc) |
163 abort: http://localhost:$HGPORT/\xff: missing or unsupported repository (esc) | 163 abort: http://localhost:$HGPORT/\xff: missing or unsupported repository (esc) |