Mercurial > hg-stable
comparison tests/test-hgweb-json.t @ 39723:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | 1a786fe069b8 |
children | 803b7569c9ea |
comparison
equal
deleted
inserted
replaced
39722:030d558c6456 | 39723:5abc47d4ca6b |
---|---|
2194 [1] | 2194 [1] |
2195 | 2195 |
2196 Commit message with Japanese Kanji 'Noh', which ends with '\x5c' | 2196 Commit message with Japanese Kanji 'Noh', which ends with '\x5c' |
2197 | 2197 |
2198 $ echo foo >> da/foo | 2198 $ echo foo >> da/foo |
2199 $ HGENCODING=cp932 hg ci -m `$PYTHON -c 'print("\x94\x5c")'` | 2199 $ HGENCODING=cp932 hg ci -m `"$PYTHON" -c 'print("\x94\x5c")'` |
2200 | 2200 |
2201 Commit message with null character | 2201 Commit message with null character |
2202 | 2202 |
2203 $ echo foo >> da/foo | 2203 $ echo foo >> da/foo |
2204 >>> open('msg', 'wb').write('commit with null character: \0\n') | 2204 >>> open('msg', 'wb').write('commit with null character: \0\n') |