Mercurial > public > mercurial-scm > hg
diff tests/test-import.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 | cb70501d8b71 |
children | ef6cab7930b3 |
line wrap: on
line diff
--- a/tests/test-import.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-import.t Tue Sep 18 23:47:21 2018 -0400 @@ -305,7 +305,7 @@ new changesets 80971e65b431 updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ $PYTHON mkmsg.py diffed-tip.patch msg.patch + $ "$PYTHON" mkmsg.py diffed-tip.patch msg.patch $ hg --cwd b import ../msg.patch applying ../msg.patch $ hg --cwd b tip | grep email @@ -371,7 +371,7 @@ new changesets 80971e65b431 updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ $PYTHON mkmsg.py exported-tip.patch msg.patch + $ "$PYTHON" mkmsg.py exported-tip.patch msg.patch $ cat msg.patch | hg --cwd b import - applying patch from stdin $ hg --cwd b tip | grep second @@ -403,7 +403,7 @@ new changesets 80971e65b431 updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ $PYTHON mkmsg2.py diffed-tip.patch msg.patch + $ "$PYTHON" mkmsg2.py diffed-tip.patch msg.patch $ cat msg.patch | hg --cwd b import - applying patch from stdin $ hg --cwd b tip --template '{desc}\n' @@ -865,7 +865,7 @@ $ hg init binaryremoval $ cd binaryremoval $ echo a > a - $ $PYTHON -c "open('b', 'wb').write(b'a\x00b')" + $ "$PYTHON" -c "open('b', 'wb').write(b'a\x00b')" $ hg ci -Am addall adding a adding b