comparison tests/test-commit-interactive-curses.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 d79f3afb079e
children 682f73fa924a
comparison
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
348 Check ui.interface logic for the chunkselector 348 Check ui.interface logic for the chunkselector
349 349
350 The default interface is text 350 The default interface is text
351 $ cp $HGRCPATH.pretest $HGRCPATH 351 $ cp $HGRCPATH.pretest $HGRCPATH
352 $ chunkselectorinterface() { 352 $ chunkselectorinterface() {
353 > $PYTHON <<EOF 353 > "$PYTHON" <<EOF
354 > from mercurial import hg, ui;\ 354 > from mercurial import hg, ui;\
355 > repo = hg.repository(ui.ui.load(), ".");\ 355 > repo = hg.repository(ui.ui.load(), ".");\
356 > print(repo.ui.interface("chunkselector")) 356 > print(repo.ui.interface("chunkselector"))
357 > EOF 357 > EOF
358 > } 358 > }