Mercurial > public > mercurial-scm > hg
diff tests/test-tag.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 | eed40f0f4c6f |
children | 57c462db87fd |
line wrap: on
line diff
--- a/tests/test-tag.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-tag.t Tue Sep 18 23:47:21 2018 -0400 @@ -230,7 +230,7 @@ Issue601: hg tag doesn't do the right thing if .hgtags or localtags doesn't end with EOL - $ $PYTHON << EOF + $ "$PYTHON" << EOF > f = open('.hg/localtags'); last = f.readlines()[-1][:-1]; f.close() > f = open('.hg/localtags', 'w'); f.write(last); f.close() > EOF @@ -242,7 +242,7 @@ c2899151f4e76890c602a2597a650a72666681bf localnewline - $ $PYTHON << EOF + $ "$PYTHON" << EOF > f = open('.hgtags'); last = f.readlines()[-1][:-1]; f.close() > f = open('.hgtags', 'w'); f.write(last); f.close() > EOF