Mercurial > hg
comparison tests/test-commit-interactive-curses.t @ 33721:24849d53697d
tests: clean up many print statements to be print functions instead
Differential Revision: https://phab.mercurial-scm.org/D294
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 14:22:25 -0400 |
parents | 20f533a92eda |
children | e8a7c1a0565a |
comparison
equal
deleted
inserted
replaced
33720:27fb986e54d0 | 33721:24849d53697d |
---|---|
343 $ cp $HGRCPATH.pretest $HGRCPATH | 343 $ cp $HGRCPATH.pretest $HGRCPATH |
344 $ chunkselectorinterface() { | 344 $ chunkselectorinterface() { |
345 > $PYTHON <<EOF | 345 > $PYTHON <<EOF |
346 > from mercurial import hg, ui;\ | 346 > from mercurial import hg, ui;\ |
347 > repo = hg.repository(ui.ui.load(), ".");\ | 347 > repo = hg.repository(ui.ui.load(), ".");\ |
348 > print repo.ui.interface("chunkselector") | 348 > print(repo.ui.interface("chunkselector")) |
349 > EOF | 349 > EOF |
350 > } | 350 > } |
351 $ chunkselectorinterface | 351 $ chunkselectorinterface |
352 text | 352 text |
353 | 353 |