Mercurial > hg-stable
comparison tests/test-filebranch.t @ 40890:07e181ed82ef
py3: quote several instances of $PYTHON for Windows
Python3 lives in Program Files by default. The last remaining unquoted instance
is in test-hghave.t. I can't figure out how to quote that, as it either
complains:
'c:\\Program' is not recognized as an internal or external command,
operable program or batch file.
or
$TESTTMP.sh: line 22: "C:/Program Files/Python37/python.exe": $ENOENT$
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 09 Dec 2018 21:23:34 -0500 |
parents | 7e99b02768ef |
children | 42d2b31cee0b |
comparison
equal
deleted
inserted
replaced
40889:1aedbf3ef3d1 | 40890:07e181ed82ef |
---|---|
4 $ cat <<EOF > merge | 4 $ cat <<EOF > merge |
5 > from __future__ import print_function | 5 > from __future__ import print_function |
6 > import sys, os | 6 > import sys, os |
7 > print("merging for", os.path.basename(sys.argv[1])) | 7 > print("merging for", os.path.basename(sys.argv[1])) |
8 > EOF | 8 > EOF |
9 $ HGMERGE="$PYTHON ../merge"; export HGMERGE | 9 $ HGMERGE="\"$PYTHON\" ../merge"; export HGMERGE |
10 | 10 |
11 Creating base: | 11 Creating base: |
12 | 12 |
13 $ hg init a | 13 $ hg init a |
14 $ cd a | 14 $ cd a |