Mercurial > hg
comparison tests/test-template-functions.t @ 39707: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 | 83f8f7b9fa60 |
children | 9458dbfa7f33 |
comparison
equal
deleted
inserted
replaced
39706:030d558c6456 | 39707:5abc47d4ca6b |
---|---|
1391 | 1391 |
1392 Set up repository for non-ascii encoding tests: | 1392 Set up repository for non-ascii encoding tests: |
1393 | 1393 |
1394 $ hg init nonascii | 1394 $ hg init nonascii |
1395 $ cd nonascii | 1395 $ cd nonascii |
1396 $ $PYTHON <<EOF | 1396 $ "$PYTHON" <<EOF |
1397 > open('latin1', 'wb').write(b'\xe9') | 1397 > open('latin1', 'wb').write(b'\xe9') |
1398 > open('utf-8', 'wb').write(b'\xc3\xa9') | 1398 > open('utf-8', 'wb').write(b'\xc3\xa9') |
1399 > EOF | 1399 > EOF |
1400 $ HGENCODING=utf-8 hg branch -q `cat utf-8` | 1400 $ HGENCODING=utf-8 hg branch -q `cat utf-8` |
1401 $ HGENCODING=utf-8 hg ci -qAm "non-ascii branch: `cat utf-8`" utf-8 | 1401 $ HGENCODING=utf-8 hg ci -qAm "non-ascii branch: `cat utf-8`" utf-8 |